[Mono-osx] Fast .NET<-->objc bridge. How to contribute?

Grishul Eugeny gesman at nm.ru
Thu Oct 30 14:02:12 EDT 2008


2Geoff Norton: Are you still reading sources? What about replacing Cocoa#
with this one?

Recently I added selectors caching support for generated proxies, so library
now was overwhelming =)
See updated perftest:

var instance = NSString.stringWithString_( "some string to test" );
instance.stringByAppendingString_( "something" );

 ObjcMapper results:
 00:00:00.2879690
 00:00:00.2878390
 00:00:00.2875700

 Cocoa# results:
 00:00:05.1938330
 00:00:05.2703830
 00:00:05.4167230

 monobjc results:
 00:00:05.2928810
 00:00:05.2914460
 00:00:05.2801190

 objc3-sharp results:
 00:00:02.2013460
 00:00:02.2027630
 00:00:02.1879220

// vararg support broken in monobjc 2.0.282 and not supported in objc3-sharp
var instance = NSString.stringWithString_( "some string to test" );
instance.stringByAppendingFormat_( " %@ %@ %f %d %d", "some", "text",
System.Math.PI, true, 10 );

 ObjcMapper results:
 00:00:00.6530110
 00:00:00.6488740
 00:00:00.6491480

 Cocoa# results:
 00:00:09.4421700
 00:00:09.4142120
 00:00:09.2457980
-- 
View this message in context: http://www.nabble.com/Fast-.NET%3C--%3Eobjc-bridge.-How-to-contribute--tp19839363p20252250.html
Sent from the Mono - OSX mailing list archive at Nabble.com.



More information about the Mono-osx mailing list