[issue19087] bytearray front-slicing not optimized
Antoine Pitrou
report at bugs.python.org
Mon Sep 30 00:22:46 CEST 2013
Antoine Pitrou added the comment:
> > No, because PyByteArray_Resize() is always called afterwards to ensure
> > that the buffer is resized when it gets below 50% usage.
>
> I.e. the bytearray is compacted from time to time.
Is there a problem with that?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19087>
_______________________________________
More information about the Python-bugs-list
mailing list