▲ | adgjlsfhk1 12 hours ago | |||||||
50% means you only get 1 tag bit. also you totally can fit 64 bit pointers inside a NaN. 46 bit pointers are only 48 bits and you have 53 bits of NaN payload. (you also could get an extra 3 bits if you only allow storing 8 byte aligned pointers unboxed) | ||||||||
▲ | pansa2 11 hours ago | parent [-] | |||||||
> 50% means you only get 1 tag bit. That's enough to distinguish between "unboxed float" and "something else", where the latter can have additional tag bits. > [64-bit] pointers are only 48 bits and you have 53 bits of NaN payload. The paper specifically talks about support for "high memory addresses that do not fit in 48 bits". If you don't have to handle those high addresses, I don't think this approach has any benefits compared to NaN-boxing. | ||||||||
|