|
|
|
|
|
by theseoafs
4423 days ago
|
|
OO languages do not have to do this. Ruby doesn't, for instance (that is, it turns the language into a "mess of boxing and unboxing", but that's invisible to the programmer and makes working with integers so much more efficient). There's simply no reason to allocate integers on the heap -- it's a bad design desicion. |
|
http://www.laurentluce.com/posts/python-integer-objects-impl...