You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[MERGE chakra-core#2298@ThomsonTan] Remove downward lookup when searching shadowed property in prototype chain in for...in
Merge pull request chakra-core#2298 from ThomsonTan:FixShadowPropertyInForIn
The previous fix of shadowing non-enumerable property for for...in (chakra-core#2175) added downward lookup in prototype chain which could degrade performance in edge cases. This fix followed suggestion from Curtis and only ignores lookup in prototype chain if there is no enumerable properties in the whole chain, otherwise search from the first prototype.
The perf data for which we optimized for in enumerator looks flat.
0 commit comments