Why are fixnums in Emacs only 29 bits?

后端 未结 7 796
终归单人心
终归单人心 2020-12-20 16:08

And why don\'t they change it?

Edit: The reason ask is because I\'m new to emacs and I would like to use Emacs as a \"programmer calculator\". So, I can manipulate

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-20 16:24

    In many Lisp implementations, some of the bits in a word are used for a tag. This lets things like the garbage collector know what is a pointer and what isn't without having to guess.

    Why do you care how big an Elisp fixnum is? You can open gigantic files as it is.

提交回复
热议问题