6 ms·
Why not right-shift all the pointers and set the int's top bit to one instead? That way arithmetic stays mostly the same and to dereference pointers you just le
by nmilo 3y ago
Why not right-shift all the pointers and set the int's top bit to one instead? That way arithmetic stays mostly the same and to dereference pointers you just left-shift before.
- makapuf 3y agoNo need to shift right pointers if you promise not to use higher addresses of 64 bits pointers (which should be sufficient)