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 lemburg
Recipients lemburg, pitrou, terry.reedy
Date 2009-06-08.08:05:15
SpamBayes Score 1.5266271e-06
Marked as misclassified No
Message-id <4A2CC63A.2060206@egenix.com>
In-reply-to <1244247109.74.0.75743876331.issue6216@psf.upfronthosting.co.za>
Content
I think we should also consider raising the free list limit
of currently 1024 objects.

The keep-alive optimization currently uses at most 1024 * 9 * 2
= 18432 bytes (+ pymalloc overhead) on a UCS2 build of Python in
the worst case.

With a limit of 32 you get 65536 bytes.

Given that Unicode objects are one of the most used object in
Python 3k and looking at todays CPU cache sizes, it would
probably be fair to allocate up to 256kB for such an
optimization, e.g. by allowing up to 4096 objects to reside
in the free list.
History
Date User Action Args
2009-06-08 08:05:18lemburgsetrecipients: + lemburg, terry.reedy, pitrou
2009-06-08 08:05:17lemburglinkissue6216 messages
2009-06-08 08:05:15lemburgcreate