[issue19087] bytearray front-slicing not optimized

Antoine Pitrou report at bugs.python.org
Mon Sep 30 21:33:57 CEST 2013


Antoine Pitrou added the comment:

> > The problem is the "suboptimal code" is also the natural way to
> write such code. If you know a simple and idiomatic way to write an
> optimal bytes FIFO, then please share it with us.
> 
> Please share this written in the "natural way" real code with us. I
> can't compare with alternatives a code which I don't see.

I'm sorry, I don't want to spend more time on such a minor issue.  The
patch is simple and yields good benefits, and Victor seems to have
approved it, so I'm inclined to ignore your skepticism and commit.

I would have liked more constructive criticism (perhaps the patch is
inefficient or suboptimal, etc.), but it seems I'll have to do without
it.

----------

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


More information about the Python-bugs-list mailing list