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 To: djgpp AT delorie DOT com In-reply-to: (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> Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > 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.