Hacker News
points by throw-qqqqq 5 days ago | 0 comments
If using 32bit handles, you save 4 bytes per reference compared to pointers. If your application uses a lot of references, this can add up (in total memory use).

I have a few applications with lots of tree structures, where this makes a meaningful difference.

[–] lomereiter 5 days ago
It's not just memory savings, it's also about CPU cache. A frequently accessed tree/graph-like data structure can fit into L2/L3 cache so much easier if it uses 32-bit offsets instead of pointers.
Hacker News