2 ms·
V8 is almost never faster than a warm JVM, especially once you get to heap sizes bigger than a couple GB. You can't even store more than 14m or so keys in a ma
by winrid 4y ago
V8 is almost never faster than a warm JVM, especially once you get to heap sizes bigger than a couple GB.
You can't even store more than 14m or so keys in a map in Node w/o reaching for an off heap solution due to hard limits in the runtime...
- fabiospampinato 4y agoIf needed you can make your own map that doesn't let you down: https://www.npmjs.com/package/infinity-map https://www.npmjs.com/package/infinity-map
- winrid 4y agoI've used megahash with great success: https://github.com/jhuckaby/megahash https://github.com/jhuckaby/megahash