Hello guys,

my work on a Wine-like emulation layer "Darling" for running OS X apps on Linux has moved to the stage where I'm gradually making elementary ObjC apps work.

Kudos to you for your objc_msgSend() implementation. That has significantly boosted the performance.
My simple benchmark that makes 10.000.000 calls like this:

[helloclass mult:1:2];

now yields these results:

OS X binary on OS X: 0m0.076s
OS X binary on Linux: 0m0.088s
Native Linux binary: 0m0.723s

The last number is caused by the fact that the native Linux binary does not use objc_msgSend() to implement that call, but still goes the traditional way.

Now I have two questions:

1) Why isn't objc_msgSend() anywhere in the header files?
2) Could you please also implement objc_msgSendSuper()?

Thanks and best regards,
--
Luboš Doležel


_______________________________________________
Gnustep-dev mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnustep-dev

Reply via email to