[issue10227] Improve performance of MemoryView slicing

Kristján Valur Jónsson report at bugs.python.org
Fri Oct 29 12:48:38 CEST 2010


Kristján Valur Jónsson <kristjan at ccpgames.com> added the comment:

In 2.x, strings are sliced using PySequence_GetSlice().  ceval.c in 3.0 is different, there is no apply_slice there (despite comments to that effect).  I'd have to take another look with the profiler to figure out how bytes slicing in 3.0 works, but I suspect that it is somehow fasttracked passed the creation of slice objects, etc.

----------

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


More information about the Python-bugs-list mailing list