News for hackers. Stuff that matters.
Re:Why Python is Slow: Looking Under the Hood by gregwebs on Friday May 09, 2014 @01:10PM (#7721961)
My understanding from 5 years ago is that in MRI the leading bit is reserved to indicate whether something is an integer. This of course reduces the size of numbers that fit into a machine word but it seems like a pretty good tradeoff.
Re:Why Python is Slow: Looking Under the Hood by icebraining on Friday May 09, 2014 @01:34PM (#7722130)
Yeah, apparently they're called tagged pointers. The More You Know.

EDIT: And here's Guido explaining why he didn't want that in Python: https://mail.python.org/pipermail/python-dev/2004-July/04614...

Re:Why Python is Slow: Looking Under the Hood by lispm on Friday May 09, 2014 @01:33PM (#7722122)
Most Lisp systems use tags. Several data types will have tags included in the data word, like fixnums, characters. Other data types have an extra word.