News for hackers. Stuff that matters.
Re:Qt signal is ten times slower than a virtual function by spacedcowboy on Thursday August 11, 2022 @05:06PM (#32431716)
There's a chart of various timings here [1] and objc_msgSend is actually pretty efficient (it's received a lot of optimization over the years for obvious reasons).

A cached IMP is faster than a C++ virtual method call (both of which are slower than a non-virtual method call, inline code, or a C function call of course).

[1] https://www.mikeash.com/pyblog/performance-comparisons-of-co...

There are no comments on this comment yet.