|
|
|
|
|
by spacedcowboy
1415 days ago
|
|
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... |
|