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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,38fc011071df5a27 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-10 21:07:35 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!cyclone.bc.net!in.100proofnews.com!in.100proofnews.com!cycny01.gnilink.net!cyclone1.gnilink.net!spamkiller2.gnilink.net!nwrdny01.gnilink.net.POSTED!53ab2750!not-for-mail From: Hyman Rosen User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030603 Thunderbird/0.1a X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ideas for Ada 200X References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Wed, 11 Jun 2003 04:07:34 GMT NNTP-Posting-Host: 162.84.224.133 X-Complaints-To: abuse@verizon.net X-Trace: nwrdny01.gnilink.net 1055304454 162.84.224.133 (Wed, 11 Jun 2003 00:07:34 EDT) NNTP-Posting-Date: Wed, 11 Jun 2003 00:07:34 EDT Xref: archiver1.google.com comp.lang.ada:38947 Date: 2003-06-11T04:07:34+00:00 List-Id: tmoran@acm.org wrote: > That's for 10**8, so 0.8 and 0.5 are the numbers for 10**7, right? Yes. > Those numbers are notably faster than your earlier 1.1, 0.7 - is it the > same machine, different compiler, or different machine, or improved > code, or what? Better compilation options, specifically the inlining amount. I looked at the assembly language for my original code, and saw that some of the arithmetic calls were not inlined. Tweaking the parameter fixed that, and led to the improved speed.