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,38b27bed88e97415 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-23 09:52:22 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread1.prod.itd.earthlink.net.POSTED!not-for-mail Message-ID: <3E590A42.2020709@acm.org> From: Jeffrey Carter User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.0) Gecko/20020530 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Question: Combination of Access and Constraining References: <1d13e1b4.0302200006.70207b86@posting.google.com> <9d795v0h3qa2922u8vodfhpfvprpre6ak2@4ax.com> <1d13e1b4.0302200720.9666350@posting.google.com> <3E5517AE.1040003@acm.org> <3E553C5E.7B2850FD@tsoft.com> <3E557F4C.1010101@acm.org> <3E56AE14.9B5F31A@tsoft.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 23 Feb 2003 17:50:46 GMT NNTP-Posting-Host: 63.184.0.125 X-Complaints-To: abuse@earthlink.net X-Trace: newsread1.prod.itd.earthlink.net 1046022646 63.184.0.125 (Sun, 23 Feb 2003 09:50:46 PST) NNTP-Posting-Date: Sun, 23 Feb 2003 09:50:46 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: archiver1.google.com comp.lang.ada:34479 Date: 2003-02-23T17:50:46+00:00 List-Id: Simon Wright wrote: > > Many programmes have some time-critical areas. But it's not common (in > my experience) for something like parameter passing style to have much > impact, unless it's completely bizarre (passing 1MB arreays by copy > would count as bizarre!) More often it's very localized, and better > algorithms will make much more difference. Regardless of the timing requirements for the software, doing strange things in the software to try to "optimize" some aspect of it, before you know that doing it normally is really impacting the timing, is simply wasting resources. If your compiler makes suboptimal parameter passing decisions and those are significant enough to impact the timing, you need to improve your compiler selection process, not screw up the code. -- Jeff Carter "Spam! Spam! Spam! Spam! Spam! Spam! Spam! Spam!" Monty Python's Flying Circus