[Mono-dev] Performance of calls

Robert Jordan robertj at gmx.net
Mon Jan 7 14:54:48 EST 2008


Hi,

Dax wrote:
> some recent benchmarks have led me to something I find quite funny:
> when deriving a class from MarshalByRefObject, static and virtual calls
> are faster than "regular" calls using simple classes derived from
> objects. The instance calls are, however, slower.

The latter is by design, as methods of MBR classes are
never inlined.

Robert




More information about the Mono-devel-list mailing list