[DGD] Efficiency question.

Keith Dunwoody keithdunwoody at yahoo.com
Tue Sep 17 05:36:13 CEST 2002


If I call_other to a function that doesn't exist, nil
is returned, but no error occurs, correct?  How
efficient is this compared to calling a function with
an empty body?

For example, which is more efficient:

baz->foo();

or

baz->bar();

given that the function foo() is defined as

void foo() {

}

and bar has no definition.

Does this change if foo() had parameters and/or a
return value?

Thanks,
-- Keith

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com
_________________________________________________________________
List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list