delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/12/28/07:46:45

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Tue, 28 Dec 2004 07:45:26 -0500
Message-Id: <200412281245.iBSCjQRj001350@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <dl52t0tp5o1o6e5m6savh94u3vijmuq43r@4ax.com> (message from Brian
Inglis on Tue, 28 Dec 2004 08:35:21 GMT)
Subject: Re: DREADED fseek
References: <6a7us0he1s9ml2djpp5tlm48lod92eei5c AT 4ax DOT com> <8edus09uvkr9or13giuvdflk4ogin5q2l1 AT 4ax DOT com> <01c4ebed$Blat.v2.2.2$c5f598c0 AT zahav DOT net DOT il> <dl52t0tp5o1o6e5m6savh94u3vijmuq43r AT 4ax DOT com>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> The default appears to be about equivalent to setvbuf() with 12KB,
> doing sequential reads on my machine and drive.

Are you doing enough reads to make the initial buffer learning curve
insignificant?  Or at least do a couple of reads before starting the
timer?  Remember, it takes 3-4 freads before it's running at full
speed.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019