[issue19087] bytearray front-slicing not optimized
Antoine Pitrou
report at bugs.python.org
Thu Sep 26 10:33:56 CEST 2013
Antoine Pitrou added the comment:
> @Antoine: Do you know if your patch may reduce the memory
> fragmentation on "bytearray front-slicing"?
It reduces the number of allocations so, yes, it can reduce memory
fragmentation.
We cannot really use a list of chunks for bytearray since it is
supposed to be usable as a contiguous buffer (using the buffer API).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19087>
_______________________________________
More information about the Python-bugs-list
mailing list