Phil Carmody said:
Why didn't you all challenge the OP equivalently?
Several people did. You even quote examples of Nick pointing out
the problem with the OP's question. He just did it more directly
than you did.
[...]
And what happened when Nick asked: [snip]
And what happens when he then re-iterates: [snip]
Nothing.
I think we all realized that the original question was incomplete,
when Nick pointed it out if not sooner. Nick's point was
sufficiently obvious that we didn't feel any need to comment on it,
thus the "Nothing" response.
Meanwhile, some of us tried to discuss what we reasonably thought
the OP meant: (does an indirect function call, via a pointer,
impose a performance penalty relative to an equivalent call using
the function's name direction?) -- as well as the question of whether
*that* question has any meaningful answer.
We are not restricted to answering the exact question the OP asked.
Irony apparently worked far better /in the long run/ than the simpler
more direct approach Nick adopted. More direct? It's about as straight
and direct as you can get, and yet it was apparently completely over-
looked! That's quite a negative thing to highlight about the readership
of c.l.c.
I don't think it was overlooked. As for your irony working better,
it was widely misunderstood and led to a long sub-thread that didn't
contribute much to the discussion.
Personally, when you wrote "Nope, function pointers are faster",
I seriously considered the possibility that you meant that indirect
calls are faster than equivalent indirect calls, and that you might
know something about it that I didn't.
[snip]