This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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).
History
Date User Action Args
2010-10-07 16:13:52mark.dickinsonsetrecipients: + mark.dickinson, rhettinger, aahz, amaury.forgeotdarc, pitrou, stutzbach, Aahz
2010-10-07 16:13:52mark.dickinsonsetmessageid: <1286468032.44.0.59665579262.issue10044@psf.upfronthosting.co.za>
2010-10-07 16:13:51mark.dickinsonlinkissue10044 messages
2010-10-07 16:13:50mark.dickinsoncreate