comp.lang.ada
 help / color / mirror / Atom feed
From: "Bobby D. Bryant" <bdbryant@mail.utexas.edu>
Subject: Re: When shoul Pragma Inline be used?
Date: Sun, 23 Feb 2003 11:26:18 -0600
Date: 2003-02-23T11:26:18-06:00	[thread overview]
Message-ID: <pan.2003.02.23.17.26.17.90098@mail.utexas.edu> (raw)
In-Reply-To: slrnb5hmr5.5bu.randhol+news@kiuk0152.chembio.ntnu.no

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




  reply	other threads:[~2003-02-23 17:26 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-23 14:33 When shoul Pragma Inline be used? Preben Randhol
2003-02-23 17:26 ` Bobby D. Bryant [this message]
2003-02-23 21:05   ` tmoran
2003-02-23 18:07 ` Jeffrey Carter
2003-02-23 22:00   ` Robert A Duff
2003-02-24  9:29   ` Preben Randhol
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox