[issue26341] Implement free-list for single-digit longs

2016-02-11 Thread Yury Selivanov
Changes by Yury Selivanov : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mail

[issue26341] Implement free-list for single-digit longs

2016-02-11 Thread Yury Selivanov
Yury Selivanov added the comment: You're right Serhiy, closing this one. -- resolution: -> duplicate superseder: -> Free list for single-digits ints ___ Python tracker ___

[issue26341] Implement free-list for single-digit longs

2016-02-11 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This looks as a duplicate of issue24165. -- ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue26341] Implement free-list for single-digit longs

2016-02-11 Thread Yury Selivanov
New submission from Yury Selivanov: The attached patch implements a free-list for single-digit longs. We already have free lists for many fundamental types, such as floats & unicode. The patch improves performance in micro-benchmarks by 10-20%. It'll also lessen memory fragmentation issues.