Ian Holsman wrote:
> 
> Bill Stoddard wrote:
> > While trying to create a simple testcase demonstrating a bug in the xlc
> > compiler, I did a little experiment.  Here is a code snip from core.c:
> > 
> 
> I'm just wondering if there is any kind of measureable performance 
> benefit in keeping these as a macro vs putting them in a  function 
> (possibly inline if the compiler can support it).

certainly inline would be preferred over "true" function calls, as
far as performance is concerned, but using macro-sub means that you
don't have to worry about how/if the compiler/platform handles functions
at all. 
-- 
===========================================================================
   Jim Jagielski   [|]   [EMAIL PROTECTED]   [|]   http://www.jaguNET.com/
      "A society that will trade a little liberty for a little order
             will lose both and deserve neither" - T.Jefferson

Reply via email to