[Mono-devel-list] Cross application domain call optimization

Paolo Molaro lupus at ximian.com
Mon Oct 18 13:03:47 EDT 2004

On 10/17/04 Ben Maurer wrote:
> > Rather than loading the args and doing managed calls, you should really
> > do CEE_JMP. It is smaller (because you dont push the args on the stack
> > either in IL or native code), and faster (jmp is faster than call).
> I just tried this on my box. You need to have the following patch to
> make it work. This is a bug in mini.

Please commit the patch. There is no reason to change the code to use JMP, 
though, since the major speedup is because of the current ldftn impl and if
JMP is really worth doing, we'll make the jit do it as an optimization
so that everybody benefits from it.


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-devel-list mailing list