www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/17/14:17:53

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gcc compiles so slow?
Date: Tue, 17 Dec 1996 09:32:05 -0800
Organization: Alcyone Systems
Lines: 19
Message-ID: <32B6D915.6D830668@alcyone.com>
References: <58s98p$460 AT galileo DOT polito DOT it> <32B22D13 DOT 5E7D AT cs DOT com> <1996Dec16 DOT 122355 DOT 27454 AT indyvax DOT iupui DOT edu> <5966cr$sov AT galileo DOT polito DOT it>
NNTP-Posting-Host: newton.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Jurgen Schwietering wrote:

> You are right, but this is not the point, if something quite empty takes 8
> seconds, i extrpolate and for large projects, I doubt that the difference
> would be only the validation of a human tester.

But the extrapolation is invalid.  gcc does a lot of loading of resources on
and off the disk, running external programs, etc.  Much of the time that it
takes for a small program are taken up by this overhead.

The overhead is a "fixed cost," though; it is constant.  It becomes
insignificant when your project is big enough.

-- 
                             Erik Max Francis | max AT alcyone DOT com
                              Alcyone Systems | http://www.alcyone.com/max/
                         San Jose, California | 37 20 07 N 121 53 38 W
                                 &tSftDotIotE | R^4: the 4th R is respect
     "You must surely know if man made heaven | Then man made hell"

- Raw text -


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