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-Thread: a07f3367d7,5af5c381381ac5a7 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!news4.google.com!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Nicholas Collin Paul de Gloucester Newsgroups: comp.lang.ada Subject: Re: Ada requires too much typing! Date: Fri, 4 Jun 2010 11:29:38 +0000 Organization: A noiseless patient Spider Message-ID: References: <4bfd19ba$0$2362$4d3efbfe@news.sover.net> Mime-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-1320153246-1275650994=:3625" Injection-Date: Fri, 4 Jun 2010 10:29:19 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="kheEuXGHhE2Z5eF1gAST+A"; logging-data="5688"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/OgfIJTLnHqW7FJKzeemqQ/9zR8sAckV8bcUOIq25GGg==" User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) In-Reply-To: Cancel-Lock: sha1:rpg9LkKV99luZwrbLhpJq3pCedY= X-X-Sender: Colin_Paul@Bluewhite64.example.net Xref: g2news2.google.com comp.lang.ada:12245 Date: 2010-06-04T11:29:38+00:00 List-Id: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1320153246-1275650994=:3625 Content-Type: TEXT/PLAIN; charset=iso-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE On Thu, 3 Jun 2010, Yannick Duch=EAne (Hibou57) sent: |-----------------------------------------------------------------------| |"Le Thu, 03 Jun 2010 18:54:57 +0200, Colin Paul Gloster | | a =E9crit: | | | |[..] | |+---------------------------------------------------------+ | || " Passing a parameter to an Ada subprogram can look | | || like choosing an element of an Ada array, with a very | | || different execution cost. " | | |+---------------------------------------------------------+ | |[..] | | | |And you will nor see difference of execution cost between two different| |functions." | |-----------------------------------------------------------------------| Actually, you would. Different functions would have different bodies would tend to have different execution costs. Aside from that, inlined functions would tend to cost differently than other functions. However, I had not been posting re different functions. I posted re utilizing an array and utilizing a subprogram. These can look identical but cost very differently. --8323328-1320153246-1275650994=:3625--