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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e9f27bbe0678fdfc X-Google-Attributes: gid103376,public From: Gautier Subject: Re: huge executable?? Date: 2000/05/16 Message-ID: <3920F612.6790FBBC@maths.unine.ch>#1/1 X-Deja-AN: 623957410 Content-Transfer-Encoding: 7bit References: <391E09C3.FA04871E@mailandnews.com> <9EET4.760$pN4.423580@news.pacbell.net> <3920DA5B.2F56@club-internet.fr> <8fpu0g$a3e$1@nnrp1.deja.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Trace: 16 May 2000 09:17:40 +0100, mac13-32.unine.ch Organization: Maths - Uni =?iso-8859-1?Q?Neuch=E2tel?= MIME-Version: 1.0 Newsgroups: comp.lang.ada Date: 2000-05-16T00:00:00+00:00 List-Id: > > I think that a reduced executable size is important, since > > that allows a better use of the CPU cache memory, so that > > could improve the speed of the program. Robert Dewar: > You are assuming that size of executable is directly related > to the working set in cache. If it is not directly related, it does not mean that is not related at all! It depends on the granularity of the cache... > > Concerning that problem, I suspect that, with GNAT, there is > > not a good elimination of the unused code. > Elimination of unused code will most certainly reduce executable > size but it won't help one bit in reducing cache pressure, since > obviously unused code never gets into the cache during > execution. Again you suppose that the cache granularity is so small that the cache will only contain bytes of executed code and not parts of the adjacent code. Is it really the case ? I have serious doubts! > Basically the issue here boils down to disk costs alone. Seeing > as 128K bytes is approximately $0.004 worth of disk space, I > don't see this as a big worry these days :-) You forget the Internet transmission times, that are now as much if not more important. And whatever the cost of storage people are sometimes curious about "the loads of bloatware" that end in an .exe, especially if it comes from an Ada compiler! _____________________________________________ Gautier -- http://members.xoom.com/gdemont/