2 ms·
> Inlining integers in pointers by shifting up and adding 1 is a quite common trick though and I have seen it in more programming language implementations than
by masklinn 15y ago
> Inlining integers in pointers by shifting up and adding 1 is a quite common trick though and I have seen it in more programming language implementations than MRI.
Yeah, I know about it, I just did not think MRI had bothered with it anymore than CPython.
- vidarh 15y agofalse, true, nil, Symbol's and Fixnum's are all special cased with typetags in MRI.