[issue19087] bytearray front-slicing not optimized

Antoine Pitrou report at bugs.python.org
Thu Sep 26 14:42:24 CEST 2013


Antoine Pitrou added the comment:

> Could you please add unit tests for check that ob_start is used
> instead of memmove()?

How would I do that? Most of the time we don't unit-test performance
improvements (i.e. there are no tests that list.append() is O(1), for
example).

----------

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


More information about the Python-bugs-list mailing list