mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e3422e0aed
This commit removes all the (duplicated) logic of setting lView[BINDING_INDEX] from `enterView`. `enterView` is on the critcal path perf-wise so we should avoid having any logic in there and minimise memory read / write. This simple refactoring in this PR reduces time spent in noop change detection by ~12% (from ~800ms down to ~700ms on a local machine where measurements were taken). PR Close #32263