"Float self-tagging" paper #16333
Unanswered
jepler
asked this question in
Core Development
Replies: 1 comment
-
The compact and efficient representation makes it appealing for resource-constrained environments. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
An interesting paper: https://arxiv.org/html/2411.16544v1
Basically, this paper proposes to box some floats, based on exponent bits. It would allow a "REPR-C" like representation but without sacrificing the lower mantissa bits for tag bits. However, it is probably more expensive code wise: a boxed float type is now required for some floats, the simplest system would reduce unboxed ints to 29 bits, and tag checking/conversion might be a bit more expensive overall.
Some doodles about a possible OBJ_REPR based on this paper:
Beta Was this translation helpful? Give feedback.
All reactions