News for hackers. Stuff that matters.
Re:My misalignment with Apple's love affair with Swift by sitharus on Sunday June 10, 2018 @05:55PM (#17280383)
To be fair to objc_msgSend it's orders of magnitude faster than most reflection APIs. https://www.mikeash.com/pyblog/performance-comparisons-of-co... has some benchmarks, it's a bit old but I don't think objc_msgSend would get slower.
Re:My misalignment with Apple's love affair with Swift by saagarjha on Sunday June 10, 2018 @09:35PM (#17281132)
Yup, I'm not saying objc_msgSend is slow: it's just that it's not faster than a direct call, and I believe about on-par with a virtual function call.