🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #805

Re: Why do some files use -O and others not?

#805
From: Mark Linton
Date: Fri, 06 Nov 1992 17:57
11 lines
1258 bytes
In article <9211050152.AA14198@espresso.bcs.eca>, janin@espresso.boeing.com (Adam Janin 5-3545) writes:
|> I've noticed that some of the files in the InterViews libraries are
|> compiled using the -O flag (optimize) and some are not.  I was
|> wondering if there were any reason I should not be using the -O flag
|> in some cases.  I know that it occasionally produces incorrect or
|> inferior code, but I am surprised by how few InterViews files are
|> compiled with -O.

On many systems, -O significantly increases compile time.
For relatively small files with no time-critical loops,
we don't find that it is worthwhile to build with -O.
Technical Details
Message-ID: <1debmeINN1n0@fido.asd.sgi.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!mica.inel.gov!ux1!news.byu.edu!hamblin.math.byu.edu!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!olivea!sgigate!odin!fido!marktwain.rad.sgi.com!linton
References: <9211050152.AA14198@espresso.bcs.eca>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!pmafire!mica.inel.gov!ux1!news.byu.edu!hamblin.math.byu.edu!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!olivea!sgigate!odin!fido!marktwain.rad.sgi.com!linton
From: linton@marktwain.rad.sgi.com (Mark Linton)
Newsgroups: comp.windows.interviews
Subject: Re: Why do some files use -O and others not?
Message-ID: <1debmeINN1n0@fido.asd.sgi.com>
Date: 6 Nov 92 17:57:34 GMT
References: <9211050152.AA14198@espresso.bcs.eca>
Reply-To: linton@marktwain.rad.sgi.com (Mark Linton)
Organization: sgi
Lines: 11
NNTP-Posting-Host: marktwain.rad.sgi.com