delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/04/03/00:28:50

To: SOLYOM AT hubme51 DOT bitnet
Cc: DJGPP AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Re DJGPP speed
Date: Sun, 03 Apr 94 07:15:41 +0200
From: eliz AT is DOT elta DOT co DOT il

> I think that the slowness of a GCC compile can arise from the slowness of
> the file IO it performs .....
> ... if a compiler uses 'fread/fwrite' then you got long compile time...

  Based on reading a lot of GNU code, I'd guess that GCC never uses fread()
and fwrite(), but read() and write() when dealing with large blocks.  I didn't
look at the actual GCC code, though.  But that's beyond the point.  As far as
I saw during my measurements, the actual IO takes an insignificant
(circa 15%) fraction of the total compilation time, so IO efficiency is not
the issue here.

	Eli Zaretskii

- Raw text -


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