Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can someone give some context on why pointer compression is worthwhile? Are there actually so many pointers in use that indeed you save a significant amount of memory?


>Are there actually so many pointers in use that indeed you save a significant amount of memory?

Every time you create a Javascript object you need a pointer. Everything except small integers (including booleans) is an object in Javascript.



“We expect about ~35% of V8 heap reduction on 64-bit platforms on real-world web sites” amazing


Without some optimisation, anything that’s not a Boolean, a number, a null or an undefined will involve some pointers.


Yes




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

Search: