Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gillespie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
gillespie
14y ago
I was thinking more that if you repeatedly access a property, regardless of where in the prototype chain it is, the optimiser would cache the value, so it would be equivalent to saving it in a local variable. If I'm not mistaken, this is a
2.
▲
by
gillespie
14y ago
Is this still true on modern browsers with optimising js engines? And if so, why?