From: Preben Randhol <randhol+news@pvv.org>
Subject: Re: When shoul Pragma Inline be used?
Date: Mon, 24 Feb 2003 09:29:47 +0000 (UTC)
Date: 2003-02-24T09:29:47+00:00 [thread overview]
Message-ID: <slrnb5jpeb.35k.randhol+news@kiuk0152.chembio.ntnu.no> (raw)
In-Reply-To: 3E590DC1.5000005@acm.org
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
prev parent reply other threads:[~2003-02-24 9:29 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
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 [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox