Message118118
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). |
|
| Date |
User |
Action |
Args |
| 2010-10-07 16:13:52 | mark.dickinson | set | recipients:
+ mark.dickinson, rhettinger, aahz, amaury.forgeotdarc, pitrou, stutzbach, Aahz |
| 2010-10-07 16:13:52 | mark.dickinson | set | messageid: <[email protected]> |
| 2010-10-07 16:13:51 | mark.dickinson | link | issue10044 messages |
| 2010-10-07 16:13:50 | mark.dickinson | create | |
|