4 ms·
Anyone know how Swift might achieve its claimed speedup vs. Objective-C? I can't see how it could get the advertised numbers without method inlining, which appe
by chrisdevereux 12y ago
Anyone know how Swift might achieve its claimed speedup vs. Objective-C? I can't see how it could get the advertised numbers without method inlining, which appears to be incompatible with the dynamic object model that it inherits from Objective-C
- cwp 12y agoWhy would method inlining be incompatible with dynamic dispatch?
- chrisdevereux 12y agoI was thinking more about runtime method replacement.
- jonhendry 12y agoLess ambiguity, allowing the compiler to optimize more?