> 
> :
> :> Although function calls are more expensive than inline code,
> :> they aren't necessarily a lot more so, and function calls to
> :> non-locked RMW operations are certainly much cheaper than
> :> inline locked RMW operations.
> :
> :This is a fairly key statement in context, and an opinion here would 
> :count for a lot; are function calls likely to become more or less 
> :expensive in time?
...
>     The change in code flow used to be the expensive piece, but not any
>     more.  You typically either see a branch prediction cache (Intel)
>     offering a best-case of 0-cycle latency, or a single-cycle latency 
>     that is slot-fillable (MIPS).

I assumed too much in asking the question; I was specifically 
interested in indirect function calls, since this has a direct impact 
on method-style implementations.

-- 
\\  The mind's the standard       \\  Mike Smith
\\  of the man.                   \\  [EMAIL PROTECTED]
\\    -- Joseph Merrick           \\  [EMAIL PROTECTED]




To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to