3 ms·
Restoring for..in peak performance
- styfle 9y agoMaybe the title should append "in V8" so it's clear this is for the JS Engine
- tw1010 9y agoThe cycle continues. The sun goes up. The birds migrate. And the engineers continue depth-first optimizing arbitrary low-hanging fruit instead of the real performance bottlenecks.
- pcwalton 9y ago> And the engineers continue depth-first optimizing arbitrary low-hanging fruit instead of the real performance bottlenecks. Can you explain what the "real performance bottlenecks" are in this case?
- inimino 9y agoOh, please. Yes, most developers never need to worry about the performance of specific language features. But please don't trivialize the work of the people who do worry about it, as if you somehow know better than them.
- VeejayRampay 9y agoI'm surprised that for...in is still relevant for modern versions of JS but it's really nice.