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-24 01:29:47 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: When shoul Pragma Inline be used? Date: Mon, 24 Feb 2003 09:29:47 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: <3E590DC1.5000005@acm.org> NNTP-Posting-Host: kiuk0152.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1046078987 29392 129.241.83.78 (24 Feb 2003 09:29:47 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Mon, 24 Feb 2003 09:29:47 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:34502 Date: 2003-02-24T09:29:47+00:00 List-Id: Jeffrey Carter wrote: > Inline allows you to indicate that you are willing to accept potentially > larger executable size and increased module coupling in exchange for the > speed increase of eliminating subprogram calls. > > If you inline these subprograms, it's because you are using them, or > think they may someday be used, in situations where the overhead of the > subprogram call is unacceptable. > I see. Thanks for the info. I had misunderstood the inlining a bit. I'll try profiling, but I don't think I need Inline at all for this program :-) -- Preben Randhol ---------------- http://www.pvv.org/~randhol/ -- "Violence is the last refuge of the incompetent", Isaac Asimov