[Mono-dev] slow mono_runtime_invoke

Miguel de Icaza miguel at ximian.com
Fri Mar 10 13:12:47 EST 2006


Hello,

> thank you, that's very helpful for my general understanding.
> Now, there's a complication. In your example, the delegate is bound to a 
> specific instance of the MyMethod class. Is there a fast way to call a 
> specific class method on an instance of the class just when i want to 
> call it?
> In my application, i use a number of callbacks which are class, not 
> instance specific. It would be great to save the memory needed to keep 
> the delegates for each instance.

You might be able to reuse the internal support for that purpose, but
that is left as an exercise to the reader.



More information about the Mono-devel-list mailing list