[issue10227] Improve performance of MemoryView slicing

Stefan Krah report at bugs.python.org
Thu Sep 8 18:28:12 CEST 2011


Stefan Krah <stefan-usenet at bytereef.org> added the comment:

With Stefan Behnel's slice-object-cache.patch, I get this (PEP-3118 branch):


Linux:   bytes: 0.097 usec  bytearray:  0.127 usec  memoryview: 0.12  usec
Windows: bytes: 0.11 usec   bytearray:  0,184 usec  memoryview: 0.139 usec


On Linux, that's quite a nice speedup.

----------

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


More information about the Python-bugs-list mailing list