Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!rutgers!dptg!att!cbnewsc!fjo From: fjo@cbnewsc.ATT.COM (frank.j.owen) Newsgroups: comp.sys.mac.programmer Subject: Re: Think's LSC generates slow code in comp with MPW C Message-ID: <1853@cbnewsc.ATT.COM> Date: 19 Jul 89 15:24:37 GMT References: <1630@eds.ericsson.se> Organization: AT&T Bell Laboratories Lines: 15 From article <1630@eds.ericsson.se>, by rif_xu@eds.ericsson.se: > Can anyone tell me why LSC generates so slow (MPW C is nearly > twice as fast) code ? > Well, I think the answer is that LSC is NOT on optimizing compiler. (It does not have an optimization pass after code generation.) LSC does as well as it does due to it's very good code generator. MPW DOES have an optimization pass. This makes it a slower compiler, but generates faster code. -- Frank Owen (fjo@ttrdf) 312-982-2182 AT&T Bell Laboratories 5555 Touhy Ave., Skokie, IL 60077 PATH: ...!att!ttrdf!fjo