HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by felipellrocha | Hacker News Reader
Parent
Full thread
felipellrocha
·
Wait, how does that work?
View on HN
tzot
·
Think
uint64_t buffer[1<<32];
and your “pointers” are indexes to that array:
(void*)(buffer+index)
PhilipRoman
·
If some subset of pointers has a guaranteed alignment of 2^N bytes, then the least significant N bits are always zero, and don't need to be stored explicitly (only restored when dereferencing the pointer)
Reply on news.ycombinator.com