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=-0.2 required=5.0 tests=BAYES_40,FREEMAIL_FROM, HELO_NO_DOMAIN,MAILING_LIST_MULTI,RDNS_NONE,SPOOFED_FREEMAIL_NO_RDNS autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1d575f572a099528 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-12-02 11:38:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!fr.usenet-edu.net!usenet-edu.net!enst!enst.fr!not-for-mail From: "Gautier Write-only-address" Newsgroups: comp.lang.ada Subject: Re: What is faster Ada or C? Date: Sun, 02 Dec 2001 19:37:49 +0000 Organization: ENST, France Sender: comp.lang.ada-admin@ada.eu.org Message-ID: Reply-To: comp.lang.ada@ada.eu.org NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: avanie.enst.fr 1007321884 7073 137.194.161.2 (2 Dec 2001 19:38:04 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Sun, 2 Dec 2001 19:38:04 +0000 (UTC) To: comp.lang.ada@ada.eu.org Return-Path: X-Originating-IP: [217.162.133.176] X-OriginalArrivalTime: 02 Dec 2001 19:37:49.0617 (UTC) FILETIME=[D35FCA10:01C17B68] Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.0.6 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: comp.lang.ada mail<->news gateway List-Unsubscribe: , List-Archive: Errors-To: comp.lang.ada-admin@ada.eu.org X-BeenThere: comp.lang.ada@ada.eu.org Xref: archiver1.google.com comp.lang.ada:17308 Date: 2001-12-02T19:37:49+00:00 >From: "Heiko Hamann" >Well, _any_ difference? Hey, this is unbelievable! The difference between >the program compiled with >standard options and the program compiled with -gnatp and -O3 is terrific. >The acceleration is about 70%! The new compilation needs only about 1/4 of >time the old one needed. I can't believe it. >The new program is about 1/5 smaller than the old one. If you want still better, try -O2 and manually selected inlined subprograms (pragma inline) -funroll-loops -gnatn (cross-unit inling) HTH ________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: Do not answer to sender address, visit the Web site! _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp