Processing a gzipped csv-file by line-by-line
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed May 10 15:28:56 PDT 2017
Nordlöw wrote:
> What's fastest way to on-the-fly-decompress and process a gzipped csv-fil
> line by line?
>
> Is it possible to combine
>
> http://dlang.org/phobos/std_zlib.html
>
> with some stream variant of
>
> File(path).byLineFast
>
> ?
iv.vfs[0] can do that (transparently decompress gzip files, and more). yet it
is far from "fastest", so i don't think that it will fit. yet i can't miss
such a great opportunity for self-promotion.
[0] http://repo.or.cz/iv.d.git/tree/HEAD:/vfs
More information about the Digitalmars-d-learn
mailing list