4 ms·
Nice article covering both tagged integers and pointers in NaN: https://nikic.github.io/2012/02/02/Pointer-magic-for-efficient-dynamic-value-representations.htm
by cben 9y ago
Nice article covering both tagged integers and pointers in NaN: https://nikic.github.io/2012/02/02/Pointer-magic-for-efficient-dynamic-value-representations.html https://nikic.github.io/2012/02/02/Pointer-magic-for-efficie...
Copy of Mozilla's article presenting their switch to NaN tagging: https://evilpie.github.io/sayrer-fatval-backup/cache.aspx.htm#post-485 https://evilpie.github.io/sayrer-fatval-backup/cache.aspx.ht...
HN discussion with more history & links: https://news.ycombinator.com/item?id=1569825 https://news.ycombinator.com/item?id=1569825