> I have a question concerning the treatment of classes which contain
> only a single method. Does one pay a run-time penalty compared to a
> program which passes the function explicitly?

No.  There is no 'box' for a one-method class.  At compile
time there's a type coercion carried around, but that disappears
at runtime.  I hope that the coercion does not impede any
transformations, but I could (just conceivably) be wrong about
that.  The idea is definitely that there's no penalty.

Simon

Reply via email to