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,3d9b089555215fa7 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.vmunix.org!peer-uk.news.demon.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ada memory management seems slow Date: Sat, 15 Oct 2005 12:10:40 +0100 Organization: Pushface Message-ID: References: <2621912.Es2GesFk5Z@linux1.krischik.com> <434F8172.2040502@mailinator.com> <434f88c0_1@glkas0286.greenlnk.net> <43500542.CA191870@fakeaddress.nil> <4350da65$0$21256$9b4e6d93@newsread2.arcor-online.net> NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1129374637 13986 62.49.19.209 (15 Oct 2005 11:10:37 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Sat, 15 Oct 2005 11:10:37 +0000 (UTC) Cancel-Lock: sha1:jk451BjuswTN9o86wuZD3hQElQE= User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin) Xref: g2news1.google.com comp.lang.ada:5693 Date: 2005-10-15T12:10:40+01:00 List-Id: Georg Bauhaus writes: > Gautier Write-only wrote: >> Martin Dowie wrote: >> >>>>>I'm using gnatmake with -O3. >>> >>>Try -O2 instead. I've heard that -O3 should be used with care and can lead >>>to some counter intuitive results! >> It does - especially by inlining too much. >> Better to add Pragma Inline(...)'s manually and test. > > and combine -gnatn with -O2. GNAT (now) has pragma Inline_Always.