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=0.6 required=5.0 tests=BAYES_00,TO_NO_BRKTS_FROM_MSSP autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,b375f07e05d12c7a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-13 14:27:13 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison References: <3B6F40C1.FD215D1D@sneakemail.com> <3B6F5ABC.3C40E189@sneakemail.com> <9f6e2b77.0108100854.66b084b4@posting.google.com> <3B783732.A3A1EB82@mindspring.com> Subject: Re: efficient vector/matrix operations in Ada Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse@newsranger.com NNTP-Posting-Date: Mon, 13 Aug 2001 17:26:58 EDT Organization: http://www.newsranger.com Date: Mon, 13 Aug 2001 21:26:58 GMT Xref: archiver1.google.com comp.lang.ada:11875 Date: 2001-08-13T21:26:58+00:00 List-Id: In article <3B783732.A3A1EB82@mindspring.com>, Larry Hazel says... > >Seems to me if a compiler can't generate the most efficient code for > >A = B + C + D > > or > >A := B + C + D > >in any language, you need a different compiler. Perhaps, but then what do you do when the language allows you to redfine "+" to do something complicated? You'd have to turn that optimization off (at least when using a redefined "+"). --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com