[Kde-bindings] playground/bindings/kimono

Arno Rehn arno at arnorehn.de
Wed Mar 21 17:53:48 UTC 2007


Am Mittwoch, 21. März 2007 schrieb Arno Rehn:
> Am Mittwoch, 21. März 2007 schrieb Richard Dale:
> > I think it would be quicker and easier to special case these methods on
> > the C/C++ side. Then we would probably only need to do a string
> > comparison on the method name, and rearranging the smoke stack is easier
> > there too.
>
> Yes, you're right. But I wonder why it causes such a high overhead by doing
> this in C#. Once it is compiled by the JIT it should work rather fast,
> shouldn't it?
Just did it in C++ again and now it doesn't create any additional overhead in 
your 't14 performance check' anymore. It's just the same as without 
additional code for instance operators. Patch attached.

-- 
Arno Rehn
arno at arnorehn.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: operator_cpp.patch
Type: text/x-diff
Size: 5122 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20070321/d516b081/attachment.bin>


More information about the Kde-bindings mailing list