@cblake, thanks for tips on generating the file. However, I think the reason @markebbert's code is slow is because it is using a **gzip filestream** and not because it wasn't compiled in release/danger mode. Nim streams module's `readLine` code is slow (see [here](https://github.com/nim-lang/Nim/issues/9026). It's slow because it only reads in one character at a time.
Perhaps it could be optimized similar to the way `lib/system/io.nim` was?