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:
@ -92,7 +92,7 @@ GreetComponent.ngComponentDef = i0.ɵɵdefineComponent({
|
||||
i0.ɵɵelementEnd();
|
||||
}
|
||||
if (rf & RenderFlags.Update) {
|
||||
i0.ɵɵselect(1);
|
||||
i0.ɵɵadvance(1);
|
||||
i0.ɵɵtextInterpolate1('Hello ', ctx.name, '!');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user