[issue24165] Free list for single-digits ints

Yury Selivanov report at bugs.python.org
Thu Feb 11 18:58:44 EST 2016


Yury Selivanov added the comment:

I also ran benchmarks.  For me, django was 1% faster, telco 5% slower, and the rest were the same.  telco is a decimal benchmarks (ints aren't used there), and django/chameleon are unicode concatenation benchmarks.

I can see improvements in micro benchmarks, but even more importantly, Serhiy's patch reduces memory fragmentations.  99% of all long allocations are coming from freelist when it's there.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24165>
_______________________________________


More information about the Python-bugs-list mailing list