Hacker News new | past | comments | ask | show | jobs | submit login
Restoring for..in peak performance (benediktmeurer.de)
89 points by stablemap on Sept 7, 2017 | hide | past | favorite | 5 comments



Maybe the title should append "in V8" so it's clear this is for the JS Engine


I'm surprised that for...in is still relevant for modern versions of JS but it's really nice.


The 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.


> 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?


Oh, 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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: