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 :/

On Mon, Jun 29, 2015 at 3:54 PM, Ozan Çağlayan <ozan...@gmail.com> wrote:
> Hi,
>
> Oh It's my bad, I though that readlines iterates over the file, I'm
> always confusing this.
>
> But still the new results are interesting:
>
> time bin/pypy testfile.py
> 338695509
>
> real 0m0.591s
> user 0m0.494s
> sys 0m0.096s
>
> time python testfile.py
> 338695509
>
> real 0m0.560s
> user 0m0.495s
> sys 0m0.064s
>
> So PyPy is still a little slower here wrt to CPython. This is on warm cache 
> too.
>
> Anyways, thanks for pointing out the readlines() stuff :)
> _______________________________________________
> pypy-dev mailing list
> pypy-dev@python.org
> https://mail.python.org/mailman/listinfo/pypy-dev
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to