Message138118
> I started a draft in python. I am attaching the _pyio version along
> with tests. I will continue work on the C implementation and
> eventually documentation if this is well received. It seems
> straightforward, I am interested to see what you guys think.
Thank you. I think performance measurements are prematurate until we
have an optimized C implementation anyway.
I think ultimately we also want a default implementation of read(),
peek() and read1() which uses prefetch(), so that BufferedReader
implementations only have to implement prefetch().
(care must be taken to avoid infinite loops)
That said, I think the python-dev mailing-list needs to be convinced of
the usefulness of prefetch() (if it was only me, there wouldn't be any
problem :-)). Perhaps you want to run another discussion there. |
|
Date |
User |
Action |
Args |
2011-06-10 17:17:58 | pitrou | set | recipients:
+ pitrou, vstinner, nadeem.vawda, benjamin.peterson, stutzbach, jcon |
2011-06-10 17:17:58 | pitrou | link | issue12053 messages |
2011-06-10 17:17:57 | pitrou | create | |
|