Benjamin Peterson <[EMAIL PROTECTED]> added the comment:

On Thu, Jul 31, 2008 at 9:36 AM, Antoine Pitrou <[EMAIL PROTECTED]> wrote:
>
> 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.

You are correct that this should probably be rewritten in C at some
point, so let's go with this.

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3476>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to