X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Mon, 27 Dec 2004 10:15:51 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: djgpp AT delorie DOT com Message-ID: <01c4ebec$Blat.v2.2.2$6cee9200@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 In-reply-to: <6a7us0he1s9ml2djpp5tlm48lod92eei5c@4ax.com> (message from Radical NetSurfer on Sun, 26 Dec 2004 15:34:07 -0500) Subject: Re: DREADED fseek References: <6a7us0he1s9ml2djpp5tlm48lod92eei5c AT 4ax DOT com> Reply-To: djgpp AT delorie 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 Precedence: bulk > From: Radical NetSurfer > Date: Sun, 26 Dec 2004 15:34:07 -0500 > > 'off_t' is defined as a mere 'int' by the way, which in djgpp is > 32-bit. That is okay, since DJGPP v2.03 supports only 32-bit offsets into files. (The next v2.04 will support one extra bit, which is all that Windows lets DOS programs use, even on 64-bit Windows filesystems.) > We discovered that using only _dos_* functions, our program also > consumed much more time than it should; using fread, etc., streaming > file i/o is faster under DJGPP. That hardly surprises me, since the standard library is well thought and its implementation is already very optimized.