This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients amaury.forgeotdarc, benjamin.peterson, pitrou
Date 2008-07-31.14:36:15
SpamBayes Score 1.317915e-06
Marked as misclassified No
Message-id <1217514969.4891cdd9403bb@imp.free.fr>
In-reply-to <1217514129.14.0.722344092021.issue3476@psf.upfronthosting.co.za>
Content
Selon Benjamin Peterson <report@bugs.python.org>:
>
> Benjamin Peterson <musiccomposition@gmail.com> added the comment:
>
> It seems that as with the quadratic binary buffered reading, the best
> solution is the list of bytes which should be especially helped by your
> bytes joining optimization.

I don't really know. The logic is quite different (and harder to get right) than
in BufferedReader. I might try to write a list-of-bytes version and do some
timings, but it's not trivial... I should first compare against the current
version.

Also, an advantage of using a fixed-size bytearray is that it more closely
mimicks what will have to be written for an efficient C implementation.
History
Date User Action Args
2008-07-31 14:36:17pitrousetrecipients: + pitrou, amaury.forgeotdarc, benjamin.peterson
2008-07-31 14:36:16pitroulinkissue3476 messages
2008-07-31 14:36:15pitroucreate