gnu.gcc.help
[Top] [All Lists]

Re: guaranteed no-op function pointer?

Subject: Re: guaranteed no-op function pointer?
From: "bluejack" <bluujack@xxxxxxxxx>
Date: 14 Dec 2005 18:19:52 -0800
Newsgroups: gnu.gcc.help
FYI: Doing some testing on a variety of hardware suggests that calling
a function takes about 3 times as long as testing a variable, which
means that in the common scenario, testing the variable and then not
calling is far better than calling a function that does nothing,
although the less happy case of testing the variable and calling the
function is, accordingly more expensive.


<Prev in Thread] Current Thread [Next in Thread>