Article View: comp.sys.mac
Article #21177Re: Compiler efficiency
From: Raymond Lau
Date: Tue, 03 Nov 1987 14:03
Date: Tue, 03 Nov 1987 14:03
19 lines
2231 bytes
2231 bytes
In article <3987@watdragon.waterloo.edu>, palarson@watdragon.waterloo.edu (Paul Larson) writes:
> I have heard some murmurs (they weren't loud enough to be be termed complaints) that some (many? all?) compilers for the mac produce code of questionable
> efficiency. I don't know enough assembly to prove or disprove this statement. Is there any merit to these murmurs?
>
> Please post replies to comp.sys.mac. If this is true I should think it deserves net discussion (not to mention _outrage_.)
Although not a compiler efficiency problem, I have noticed that when LSC links together a file which uses a certain library, it includes the entire libary even if only one procedure/func in the lib is actually called. When it links in a project, each object in the project (or whatever you wish to term it) is linked in in its entirety even if only one proc/func w/in it is actually called.
I know that this id documented... I'd guess that it's probably done bec. it's faster.... and I can understand that. But when the Build Application (or code/da) is invoked, I feel that we should have the option of having the final form of the prgm optimized.
Before, using the MacTraps w/2.01, I've had relatively small prgms (20-35k) come out 3-8k smaller than they do now under the 2.11 MacTraps. Those numbers add up
.
-----------------------------------------------------------------------------
Raymond Lau {allegra,philabs,cmcl2}!phri\
Big Electric Cat Public Unix {bellcore,cmcl2}!cucard!dasys1!raylau
New York, NY, USA {sun}!hoptoad/
GEnie:RayLau Delphi:RaymondLau CIS:76174,2617
"Take it and StuffIt."
Technical Details
Message-ID:
<1881@dasys1.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!ptsfa!hoptoad!dasys1!raylauReferences:
<3987@watdragon.waterloo.edu>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!lll-winken!lll-lcc!ptsfa!hoptoad!dasys1!raylau From: raylau@dasys1.UUCP (Raymond Lau) Newsgroups: comp.sys.mac Subject: Re: Compiler efficiency Message-ID: <1881@dasys1.UUCP> Date: Tue, 3-Nov-87 09:03:32 EST Article-I.D.: dasys1.1881 Posted: Tue Nov 3 09:03:32 1987 Date-Received: Sat, 7-Nov-87 08:45:00 EST References: <3987@watdragon.waterloo.edu> Organization: The Big Electric Cat Lines: 18 Summary: Compiler efficiency (LSC)