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-7-bit Date: Wed, 30 Apr 2008 19:13:23 +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: <48177d3e$1_1@news.bluewin.ch> <4818818A.8050906@gmail.com> In-Reply-To: <4818818A.8050906@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.77.150.36 X-Original-NNTP-Posting-Host: 83.77.150.36 Message-ID: <4818a8a5$1_5@news.bluewin.ch> X-Trace: news.bluewin.ch 1209575589 83.77.150.36 (30 Apr 2008 19:13:09 +0200) Organization: Bluewin AG Complaints-To: abuse@bluewin.ch X-Original-NNTP-Posting-Host: 127.0.0.1 Path: g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!212.101.4.254.MISMATCH!solnet.ch!solnet.ch!news-zh.switch.ch!switch.ch!news.ip-plus.net!newsfeed.ip-plus.net!news.bluewin.ch!not-for-mail Xref: g2news1.google.com comp.lang.ada:21144 Date: 2008-04-30T19:13:23+02:00 List-Id: > Correct, I use -gnatVn but it looks like it's not the same (I don't > inlined anything). With -gnatp, Results are even more suprising: I suppose you meant -gnatn (-gnatV* switches validity checking). BTW, -gnatn just allows cross-unit inlining of subprograms that have the pragma Inline(...). For inlining inside a unit you can use that pragma (without -gnatn) or use -O3 instead of -O2. > Norme is as fast as C and 30% faster than NormeAccess. It would be interesting to see the measurements with/without inlining and optimisation (-Ox). ______________________________________________________________ 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!