Message70511
| Author |
benjamin.peterson |
| Recipients |
amaury.forgeotdarc, benjamin.peterson, pitrou |
| Date |
2008年07月31日.14:39:20 |
| SpamBayes Score |
9.386448e-07 |
| Marked as misclassified |
No |
| Message-id |
<1afaf6160807310739r578c864er4cf39ed9f4b9e5f5@mail.gmail.com> |
| In-reply-to |
<1217514969.4891cdd9403bb@imp.free.fr> |
| Content |
On Thu, Jul 31, 2008 at 9:36 AM, Antoine Pitrou <report@bugs.python.org> 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. |
|