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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e169af38f0a27bda X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-02-23 09:35:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news.ems.psu.edu!news.cse.psu.edu!uwm.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!not-for-mail From: "Bobby D. Bryant" Newsgroups: comp.lang.ada Subject: Re: When shoul Pragma Inline be used? Date: Sun, 23 Feb 2003 11:26:18 -0600 Organization: dis- Message-ID: References: NNTP-Posting-Host: dial-104-16.ots.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: geraldo.cc.utexas.edu 1046021180 28400 128.83.176.112 (23 Feb 2003 17:26:20 GMT) X-Complaints-To: abuse@utexas.edu NNTP-Posting-Date: Sun, 23 Feb 2003 17:26:20 +0000 (UTC) User-Agent: Pan/0.13.3 (That cat's something I can't explain) Xref: archiver1.google.com comp.lang.ada:34477 Date: 2003-02-23T11:26:18-06:00 List-Id: On Sun, 23 Feb 2003 14:33:08 +0000, Preben Randhol wrote: > I just wonder when one should use Pragma Inline and when one should not > use it. If somebody could give some tips/links it would be very helpful. IMO the _right_ way to decide is to profile your program and see which way works out the best. In practice I don't do that very often, and would probably inline any single line procedure or function that gets called a lot. -- Bobby Bryant Austin, Texas