[Mono-dev] COM Interop Performance Patch

Paolo Molaro lupus at ximian.com
Fri Jun 22 07:53:56 EDT 2007


On 06/21/07 Jonathan Chambers wrote:
>     Attached is a patch that removes the managed transition (and object
> creation) when getting a COM Interface from a runtime callable wrapper. This
> makes mono COM Interop about 2.5 times slower than MS (an improvement from
> 10x slower). I also implemented/consolidate the code for
> Marshal.ThrowExceptionForHR and Marshal.GetExceptionForHR.

This looks fine to me.
Thanks!

lupus

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



More information about the Mono-devel-list mailing list