[issue19087] bytearray front-slicing not optimized

Serhiy Storchaka report at bugs.python.org
Sun Sep 29 23:33:10 CEST 2013


Serhiy Storchaka added the comment:

> A generic example is to parse messages out of a TCP stream. Basically
any protocol transported on TCP needs such a facility, or has to find
workarounds (which are either suboptimal or complicated).

Could you please show concrete code in which you are going to use this optimization?

----------

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


More information about the Python-bugs-list mailing list