perf(ivy): replace select instruction with advance (#32516)

Replaces the `select` instruction with a new one called `advance`. Instead of the jumping to a specific index, the new instruction goes forward X amount of elements. The advantage of doing this is that it should generate code the compresses better.

PR Close #32516
This commit is contained in:
crisbeto
2019-09-06 23:43:16 +02:00
committed by Matias Niemelä
parent 2230dfaea7
commit 664e0015d4
34 changed files with 280 additions and 304 deletions

View File

@ -594,7 +594,7 @@
"name": "saveResolvedLocalsInData"
},
{
"name": "selectInternal"
"name": "selectIndexInternal"
},
{
"name": "selectView"

View File

@ -432,7 +432,7 @@
"name": "resetStylingState"
},
{
"name": "selectInternal"
"name": "selectIndexInternal"
},
{
"name": "selectView"

View File

@ -1,7 +1,4 @@
[
{
"name": "INJECTOR_SCOPE"
},
{
"name": "CIRCULAR"
},
@ -14,6 +11,9 @@
{
"name": "INJECTOR"
},
{
"name": "INJECTOR_SCOPE"
},
{
"name": "Inject"
},
@ -215,4 +215,4 @@
{
"name": "ɵɵinject"
}
]
]

View File

@ -1248,7 +1248,7 @@
"name": "searchTokensOnInjector"
},
{
"name": "selectInternal"
"name": "selectIndexInternal"
},
{
"name": "selectView"
@ -1394,6 +1394,9 @@
{
"name": "wrapListener"
},
{
"name": "ɵɵadvance"
},
{
"name": "ɵɵclassProp"
},
@ -1436,9 +1439,6 @@
{
"name": "ɵɵrestoreView"
},
{
"name": "ɵɵselect"
},
{
"name": "ɵɵstyling"
},