10 ms·
| Pointer compression saves an average of 40% of memory. This is really awesome. Can't wait it to be shipped everywhere.
by coldlestat 7y ago
| Pointer compression saves an average of 40% of memory.
This is really awesome. Can't wait it to be shipped everywhere.
- ksec 7y agoI wonder if this is specific to v8 or could SpiderMonkey and JavascriptCore could benefits from the same optimisation technique.
- coldtea 7y agoIt's used in other languages too, but how easy it is to apply to another JS engine depends on its implementation. Nothing v8 exclusive about it though
- deleted 7y ago[deleted]
- MaxBarraclough 7y agoI believe JVMs were the first to use pointer-compression. A good summary is at https://stackoverflow.com/a/25120926/ https://stackoverflow.com/a/25120926/ Also worth reading: https://blog.codecentric.de/en/2014/02/35gb-heap-less-32gb-java-jvm-memory-oddities/ https://blog.codecentric.de/en/2014/02/35gb-heap-less-32gb-j...