Hacker News new | ask | show | jobs
by afavour 10 days ago
In my experience memory issues are more common. The way JS stores objects in memory is fundamentally inefficient (though it’s deliberate, it’s why you can do object.propertyIJustMadeUp = true on anything, any number can be a float, etc) and if you’re moving a ton of data it can cause issues eventually.

The only JS-native answer is to use typed arrays, which is using a sledgehammer to crack a nut.