From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,ce1e7170ab2bc91c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-03-28 06:54:05 PST Path: supernews.google.com!sn-xit-03!supernews.com!news-feed.riddles.org.uk!arclight.uoregon.edu!hammer.uoregon.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison Sender: usenet@www.newsranger.com References: <_pNv6.15345$ue1.1278082@newsread2.prod.itd.earthlink.net> <3ABFB3AD.DF3AA617@lmco.com> Subject: Re: Why do so many companies use Apex? Message-ID: Date: Wed, 28 Mar 2001 14:44:45 GMT NNTP-Posting-Host: 209.208.22.130 X-Complaints-To: abuse@newsranger.com X-Trace: www.newsranger.com 985790685 209.208.22.130 (Wed, 28 Mar 2001 09:44:45 EST) NNTP-Posting-Date: Wed, 28 Mar 2001 09:44:45 EST Organization: http://www.newsranger.com Xref: supernews.google.com comp.lang.ada:6161 Date: 2001-03-28T14:44:45+00:00 List-Id: In article , Keith Thompson says... > >"Corey Ashford" writes: >[...] >> of a record in a spec. In Apex, only those units which >> use the record definition will be recompiled, whereas in most >> other compilers (and I assume including GNAT), the compilation >> system will cause all units that "with" the spec of that package >> containing the record definition to be recompiled because >> more than just comments or white space has changed. > >It would be interesting to see a cost-benefit analysis for this kind >of thing -- in particular, whether the time saved by avoiding major >rebuilds outweighs the time spent in bookkeeping. It would surely have to be plotted against program size. For a smallish program, recompilations don't take that long, and would typically involve a significant percentage of the entire project anyway. So taking extra effort on each file to possibly prevent one or two more package recompilations would clearly not be a good idea. But once you get into the thousands of packages and millions of lines of code, where a full system compile can easly take more than 30 minutes on a modern processor, this would be a *big* issue. Just another example of how Apex targets large projects. --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com