Mark Dickinson <dicki...@gmail.com> added the comment:

Maybe we could consider adding an extra field to a PyLong giving its 
'small_int' value for small values, and some flag value for non-small longs.  
An extra field wouldn't actually enlarge the size of a PyLong for small 
values---on a 64-bit machine, a value like 23L takes 28 bytes, for which 32 
bytes will actually be allocated (since Python always allocates in multiples of 
8 bytes, I believe).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue10044>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to