Message118118
| Author |
mark.dickinson |
| Recipients |
Aahz, aahz, amaury.forgeotdarc, mark.dickinson, pitrou, rhettinger, stutzbach |
| Date |
2010年10月07日.16:13:50 |
| SpamBayes Score |
4.287434e-05 |
| Marked as misclassified |
No |
| Message-id |
<1286468032.44.0.59665579262.issue10044@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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). |
|