Implement NaN tagged values.
srijan-paul opened this issue · 0 comments
srijan-paul commented
Currently the value representation in snap is in the form of tagged unions. This size can be halved, and operations like ==
and !=
can be made slightly faster if NaN tagging is used. However to maintain support for most platforms, it should be hidden under an optional compile flag (macro).
With this, Values will be small enough for storing in a register.