Processing a gzipped csv-file by line-by-line
H. S. Teoh via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Wed May 10 16:19:15 PDT 2017
On Wed, May 10, 2017 at 11:17:44PM +0000, Nicholas Wilson via Digitalmars-d-learn wrote:
> On Wednesday, 10 May 2017 at 22:20:52 UTC, 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
> >
> > ?
>
> I suggest you take a look at Steven's iopipe (also watch his Dconf
> presentation). should be very simple.
Also, if you need to parse lots of CSV data very fast, you might be
interested in this:
https://github.com/quickfur/fastcsv
T
--
Just because you can, doesn't mean you should.
More information about the Digitalmars-d-learn
mailing list