[computer-go] Effective Go Library v0.101
Petri Pitkanen
petri.t.pitkanen at gmail.com
Thu Feb 15 22:46:50 PST 2007
2007/2/16, Nick Apperson <apperson at gmail.com>:
> trouble. Also, the alternative is usually function pointers which have
> atleast 50 times the overhead of a function object. Correct me if I'm
> wrong.
>
> - Nick
>
function objects really cannot be 50 times more efficient as function
pointer are rather efficient with very little overhead. Besides unless
unless function object is small enough to be inlined it will be
compiled as function pointer in many cases so there cannot be any
efficiency difference - well unless function object get inlined that
is.
Petri
More information about the computer-go
mailing list