[issue19087] bytearray front-slicing not optimized

Antoine Pitrou report at bugs.python.org
Fri Oct 4 10:29:48 CEST 2013


Antoine Pitrou added the comment:

> I meant that you can continue use self->ob_bytes instead of
> PyByteArray_AS_STRING(self) if self->ob_bytes points not to the
> start of physical buffer, but to the start of logical byte array.
> *This* will simplify the patch a lot.

It will make the diff smaller but it will not "simplify" the patch.

----------

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


More information about the Python-bugs-list mailing list