[Python-3000] Free list for small longs

"Martin v. Löwis" martin at v.loewis.de
Tue Feb 5 23:30:14 CET 2008


> I think Christian means single digit integers. But I thought we
> already did this for positive numbers? So is the proposal to also
> cover negative numbers?

We don't have a free list, but a cache for them, and only for numbers
between -5 and +256. Christian proposes a freelist, similar to the
special allocate in 2.x.

Regards,
Martin


More information about the Python-3000 mailing list