Message202951
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. |
|
Date |
User |
Action |
Args |
2013-11-15 14:00:31 | skrah | set | recipients:
+ skrah, pitrou, vstinner, mpb |
2013-11-15 14:00:31 | skrah | set | messageid: <1384524031.78.0.787952805433.issue19577@psf.upfronthosting.co.za> |
2013-11-15 14:00:31 | skrah | link | issue19577 messages |
2013-11-15 14:00:31 | skrah | create | |
|