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,a6449b2443dcdda1 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII Date: Tue, 29 Apr 2008 21:55:56 +0200 From: Gautier User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Access keyword References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit NNTP-Posting-Host: 83.76.147.62 X-Original-NNTP-Posting-Host: 83.76.147.62 Message-ID: <48177d3e$1_1@news.bluewin.ch> X-Trace: news.bluewin.ch 1209498942 83.76.147.62 (29 Apr 2008 21:55:42 +0200) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!wns11feed!worldnet.att.net!164.128.36.58!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news1.google.com comp.lang.ada:21122 Date: 2008-04-29T21:55:56+02:00 List-Id: S�bastien wrote: > All of you are rights (I'm sure you had do doubt about it :-) ) > > I ran some benchmark after posting and the results are significant: > > Norme is 50% faster than NormeAccess > Norme is 25% slower than the C equivalent program using pointer > > All compilation made with -02. > > Sebastien Did you also set the -gnatp (suppress all checks) switch for Ada ? Otherwise the comparison with C is clunky... ______________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/index.htm Ada programming -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!