Thanks for the comments all, very valuable. My use case is reading a large file
that does not fit in memory, (circa 45GB compressed) so it has to be streaming.
After reading the file, I then want to do some basic splitting of the lines,
and then hash each part with xxhash.
And @cblake thanks fo
Thx for the tips, recompiling with -d:release make a big difference, it is then
roughly 5 times faster. But then, the Python is still roughly 3 times faster.
This is not a proper benchmark, it is a "quick wins" investigation. Was hoping
that using a compiled language would make a giant differenc
Dear Nim community,
I am investigating porting some of the speed critical parts of my projects to
Nim from Python, for performance reasons. Doing some naive initial tests, the
Nim was significantly slower, so I must be doing something wrong. Here is the
Nim:
import zip/gzipfiles