Message127915
> Here is a proof-of-concept patch for the pure Python version of
> TextIOWrapper.tell(). It turns the O(CHUNK_SIZE) operation into an
> O(1) operation most of time (still O(CHUNK_SIZE) worst-case - weird
> decoders and/or crazy input).
Actually, that's wrong. The patch is still O(CHUNK_SIZE) but with a
vastly different multiplier (and, optimistically, much smaller, as
common codecs are codecs in C). |
|
| Date |
User |
Action |
Args |
| 2011-02-04 18:20:00 | pitrou | set | recipients:
+ pitrou, amaury.forgeotdarc, dsm001, eric.smith, Laurens |
| 2011-02-04 18:20:00 | pitrou | link | issue11114 messages |
| 2011-02-04 18:19:59 | pitrou | create | |
|