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 skrah
Recipients mpb, pitrou, skrah, vstinner
Date 2013-11-15.14:00:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1384524031.78.0.787952805433.issue19577@psf.upfronthosting.co.za>
In-reply-to
Content
To my surprise, this line is 10% faster with a freelist:

./python -m timeit -s "import array; a = array.array('B', [0]*100); m = memoryview(a)" "m[30:40]"


I think the reason is that PyObject_GC_NewVar() is quite slow.
History
Date User Action Args
2013-11-15 14:00:31skrahsetrecipients: + skrah, pitrou, vstinner, mpb
2013-11-15 14:00:31skrahsetmessageid: <1384524031.78.0.787952805433.issue19577@psf.upfronthosting.co.za>
2013-11-15 14:00:31skrahlinkissue19577 messages
2013-11-15 14:00:31skrahcreate