gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

objc_msgSendSuper implementation?


From: Luboš Doležel
Subject: objc_msgSendSuper implementation?
Date: Fri, 05 Oct 2012 11:05:43 +0200
User-agent: Roundcube Webmail/0.5

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]