[pypy-dev] A simple file reading is 2x slow wrt CPython

Maciej Fijalkowski fijall at gmail.com
Mon Jun 29 16:58:40 CEST 2015


On Mon, Jun 29, 2015 at 4:56 PM, Ondřej Bílka <neleai at seznam.cz> wrote:
> On Mon, Jun 29, 2015 at 04:44:44PM +0200, Maciej Fijalkowski wrote:
>> On Mon, Jun 29, 2015 at 4:43 PM, Ondřej Bílka <neleai at seznam.cz> wrote:
>> > On Mon, Jun 29, 2015 at 03:58:12PM +0200, Maciej Fijalkowski wrote:
>> >> it's sort-of-known, we have a branch to try to address this, the main
>> >> problem is that we try to do buffering ourselves as opposed to just
>> >> use libc buffering, which turns out to be not as good. Sorry about
>> >> that :/
>> >>
>> > Do you have testcase to report? I could fix that.
>>
>> testcase of what? PyPy buffering not being up to scratch compared to
>> libc buffering?
>
> Why libc buffering is bad so it could be fixed.

no, libc buffering is good and we should use it as opposed to our
home-grown solution which is bad and likely should be thrown away ;-)


More information about the pypy-dev mailing list