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!news1.google.com!proxad.net!proxad.net!newsfeed.arcor.de!news.arcor.de!not-for-mail Date: Sat, 15 Oct 2005 12:32:52 +0200 From: Georg Bauhaus User-Agent: Debian Thunderbird 1.0.2 (X11/20050817) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Ada memory management seems slow References: <2621912.Es2GesFk5Z@linux1.krischik.com> <434F8172.2040502@mailinator.com> <434f88c0_1@glkas0286.greenlnk.net> <43500542.CA191870@fakeaddress.nil> In-Reply-To: <43500542.CA191870@fakeaddress.nil> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4350da65$0$21256$9b4e6d93@newsread2.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 15 Oct 2005 12:31:01 MEST NNTP-Posting-Host: 79f21f25.newsread2.arcor-online.net X-Trace: DXC=6ffTT4M]AlLUhhl_USDNiOQ5U85hF6f;DjW\KbG]kaMHQ>n?D9BSA]LYBR\`Y6QO1IhP3YJKgE\jL\T@2[m2>>eA X-Complaints-To: abuse@arcor.de Xref: g2news1.google.com comp.lang.ada:5692 Date: 2005-10-15T12:31:01+02:00 List-Id: 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.