[Mono-osx] Fast .NET<-->objc bridge. How to contribute?
jesjones at mindspring.com
Thu Oct 30 15:07:42 EDT 2008
On Oct 30, 2008, at 11:02 AM, Grishul Eugeny wrote:
> 2Geoff Norton: Are you still reading sources? What about replacing
> with this one?
> Recently I added selectors caching support for generated proxies, so
> now was overwhelming =)
> See updated perftest:
> var instance = NSString.stringWithString_( "some string to test" );
> instance.stringByAppendingString_( "something" );
> ObjcMapper results:
> Cocoa# results:
> monobjc results:
> objc3-sharp results:
Impressive speed Grishul. I looked at optimizing call times in mobjc
(which replaces objc3-sharp), by for example adding a fast path which
bypasses a lot of the managed code, but the speed increases were
negligible. So, as far as I can tell the slow down in mobjc is from
libffi and return value marshaling.
More information about the Mono-osx