3 ms·
Nitpick: languages don’t do inline caching, implementations do. Also, Objective-C being “C with a little bit of dynamism where you need it” doesn’t need it as
by Someone 8y ago
Nitpick: languages don’t do inline caching, implementations do.
Also, Objective-C being “C with a little bit of dynamism where you need it” doesn’t need it as much as languages where every call is, principally, a dynamic one.
Having said that, the current implementation does some caching, but inside objc_msgSend, not inline with the call (https://www.mikeash.com/pyblog/friday-qa-2012-11-16-lets-build-objc_msgsend.html https://www.mikeash.com/pyblog/friday-qa-2012-11-16-lets-bui...)