[Python-3000] Free list for small longs

skip at pobox.com skip at pobox.com
Tue Feb 5 21:13:29 CET 2008


    Christian> I've implemented a free list for small long objects with a
    Christian> size of 1 or -1.

I'm not sure what you mean by "size of 1 or -1".  Do you mean you only keep
the numbers 1 and -1 on the free list?  It's not obvious to me what a size
of -1 is.  Do you mean positive and negative numbers which fit in one byte
or one long word?

Skip


More information about the Python-3000 mailing list