Article View: comp.unix.programmer
Article #3469Re: Big performance problems with C++ file I/O
From: Alex Vinokur
Date: Sun, 18 Apr 2004 12:53
Date: Sun, 18 Apr 2004 12:53
26 lines
1863 bytes
1863 bytes
"Alex Vinokur" <alexvn@big.foot.com> wrote in message news:c5thd1$5ffrk$1@ID-79865.news.uni-berlin.de...
>
> "Aaron Isotton" <aaron@isotton.com> wrote in message news:o4o8l1-4em.ln1@tiger.berg21.ch...
> > Hi,
> >
> > I am writing an application reading big text files (hundreds of
> > megabytes) line by line. I was reading the files using std::getline and
> > I noticed that it is *incredibly* slow.
> [snip]
>
> Look at
> http://article.gmane.org/gmane.comp.lang.c++.perfometer/38
> http://article.gmane.org/gmane.comp.lang.c++.perfometer/35
> http://article.gmane.org/gmane.comp.lang.c++.perfometer/34
>
[snip]
Also
http://article.gmane.org/gmane.comp.lang.c++.perfometer/41
http://article.gmane.org/gmane.comp.lang.c++.perfometer/40
--
Alex Vinokur
mailto:alexvn@connect.to
http://mathforum.org/library/view/10978.html
Technical Details
Message-ID:
<c5ttp1$5es65$1@ID-79865.news.uni-berlin.de>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!82.166.212.17!not-for-mailReferences:
<o4o8l1-4em.ln1@tiger.berg21.ch> <c5thd1$5ffrk$1@ID-79865.news.uni-berlin.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f65d0,78838ebea02c7742 X-Google-Attributes: gidf65d0,public X-Google-Thread: fc89c,78838ebea02c7742 X-Google-Attributes: gidfc89c,public X-Google-ArrivalTime: 2004-04-18 05:53:55 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!82.166.212.17!not-for-mail From: "Alex Vinokur" <alexvn@big.foot.com> Newsgroups: comp.unix.programmer,gnu.gcc Subject: Re: Big performance problems with C++ file I/O Date: Sun, 18 Apr 2004 15:53:53 +0300 Lines: 33 Message-ID: <c5ttp1$5es65$1@ID-79865.news.uni-berlin.de> References: <o4o8l1-4em.ln1@tiger.berg21.ch> <c5thd1$5ffrk$1@ID-79865.news.uni-berlin.de> Reply-To: "Alex Vinokur" <alexvn@connect.to> NNTP-Posting-Host: 82.166.212.17 X-Trace: news.uni-berlin.de 1082292833 5730501 I 82.166.212.17 ([79865]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-Mimeole: Produced By Microsoft MimeOLE V6.00.2800.1106