Emacs internals: Deconstructing Lisp_Object in C (Part 2)

(thecloudlet.github.io)

66 points | by thecloudlet 2 days ago

2 comments

  • praptak 1 hour ago
    SBCL uses a single zero bit to tag integers. This trick means the representation of n is just 2n, so you can add the values directly without any decoding.

    It obviously also means that all the other tag values have to use 1 as the last bit.

  • alex_dev42 2 hours ago
    [flagged]