Skip to content

Comment on Why Object of Arrays beat interleaved arrays: a JavaScript performance issueparent

Comments

I mean if you replaced an array of one million objects with an array of one million arrays you'd probably end up with simila performance.

Once again, my argument is that I think there's evidence against making assumptions like "you'd probably end up with similar performance" and that actually testing assumptions like this is worthwhile. I'm not sure how I could make this more clear at this point though, so I doubt it's worth it for me to try to spend more time understanding whether you don't understand what I'm suggesting or are just unwilling to explain why you disagree with it.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.