[pypy-issue] [issue1579] Potential speedup reading large file into a dict
tracker at bugs.pypy.org
Fri Aug 9 20:35:47 CEST 2013
New submission from lesshaste <drraph at gmail.com>:
paste <(seq 20000000) <(seq 2 20000001) > largefile.txt
Then run the attached read.py. It takes about 1 minute on my system and simply
makes one large dict.
However the attached C code takes less than 10 seconds (code taken from public
forums on the web.)
Is there potential to be competitive with the C code?
nosy: lesshaste, pypy-issue
priority: performance bug
title: Potential speedup reading large file into a dict
PyPy bug tracker <tracker at bugs.pypy.org>
More information about the pypy-issue