Hi,
I am trying to write a simple program which processes large gziped files as
streams. However, it turns out, that for some reason reading is very slow
and it takes almost 10 times more to even count single lines as compared to
a Java equivalent or "gunzip -c largefile.gz | wc -l". I would like to ask
experts to point out what assumption I make. The source is attached below.
Thanks in advance,
Andy
#include <iostream>
#include <fstream>
#include
participants (1)
-
Andy C