[pypy-issue] Issue #2790: pypy3 reading big file very slow (pypy/pypy)

Ziqi Liu issues-reply at bitbucket.org
Fri Apr 6 11:53:52 EDT 2018


New issue 2790: pypy3 reading big file very slow
https://bitbucket.org/pypy/pypy/issues/2790/pypy3-reading-big-file-very-slow

Ziqi Liu:

I'm trying to use pypy3 to improve the efficiency of my code. The basic flow is reading a very big file and do some processing and output.

pypy3 do improve the speed of the processing part, but very very slow in reading big file, much more slower than normal python3.....I suppose pypy3 doesn't compile it correctly, maybe I need to add some args to improve the reading file efficiency?

I read the file with built-in open function
```
with open(inF1, 'r') as f:
    gtf = [line.split('\t') for line in f]
```




More information about the pypy-issue mailing list