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: 103376,703c4f68db81387d X-Google-Thread: 115aec,703c4f68db81387d X-Google-Attributes: gid103376,gid115aec,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!proxad.net!proxad.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Sun, 13 Mar 2005 12:04:04 +0100 From: Georg Bauhaus User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada,comp.realtime Subject: Re: 10 rules for benchmarking (was Re: Teaching new tricks to an old dog (C++ -->Ada)) References: <4229bad9$0$1019$afc38c87@news.optusnet.com.au> <1110284070.410136.205090@o13g2000cwo.googlegroups.com> <395uqaF5rhu2mU1@individual.net> <112rs0bdr2aftdf@corp.supernews.com> <1inxxr988rxgg$.1w9dedak41k89.dlg@40tude.net> <112s1r0rf0o8nca@corp.supernews.com> <112sonip5v4dca6@corp.supernews.com> <112t3de6fu04f38@corp.supernews.com> <1110396477.596174.285520@o13g2000cwo.googlegroups.com> <112vb2t8eonuhed@corp.supernews.com> <1110422108.925127.54110@o13g2000cwo.googlegroups.com> <11329cb96h2p19f@corp.supernews.com> <113394jjvppao64@corp.supernews.com> <1133s3qnmqmbjfb@corp.supernews.com> <4232a9f7$0$26552$9b4e6d93@newsread4.arcor-online.net> <11369p5jrcc6835@corp.supernews.com> <1137falp86qhk89@corp.supernews.com> <42341634$0$1115$9b4e6d93@newsread2.arcor-online.net> In-Reply-To: <42341634$0$1115$9b4e6d93@newsread2.arcor-online.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <42341dea$0$26557$9b4e6d93@newsread4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 13 Mar 2005 12:03:06 MET NNTP-Posting-Host: 71fb95c6.newsread4.arcor-online.net X-Trace: DXC=FD@SP`m=3WZTkno\?fPDcV:ejgIfPPldTjW\KbG]kaMXGSi?jHD8GOPhn@@Y2U: Georg Bauhaus wrote: > 1) The execution speed of Ada is either much less, 0.92 vs 1.36, or 1a) The execution speed of Ada is either somewhat less, 0.92 vs 1.12 ^^^^ Reason: use constrained arrays as well, like in the C program. diff: type Integer_Array is array (Natural range <>) of aliased Integer; type Int_Ptr is access constant Integer; subtype Int_Array is Integer_Array(0 .. N2); -- used etc.