4 ms·
Wait, how does that work?
by felipellrocha 2y ago
Wait, how does that work?
- tzot 2y agoThink uint64_t buffer[1<<32]; and your “pointers” are indexes to that array: (void*)(buffer+index)
- deleted 2y ago[deleted]
- PhilipRoman 2y agoIf 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)