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

This is used a lot for things like acceleration structures in 3D graphics - you also get the benefit of being able to store an uint32_t offset instead of a 64-bit pointer, fitting a bigger tree in memory/cache.


I used that trick as well. :-)




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

Search: