objective-c - GCC_FAST_OBJC_DISPATCH "Accelerated Objective-C Dispatch"实际做什么(或曾经做什么)?

标签 objective-c

<分区>

多年来,我一直在 Xcode 的build设置列表中看到它,但从未抽出时间研究它的作用。今天我尝试这样做,发现谷歌非常缺乏关于该主题的任何信息。任何 Objective-C 老手(我猜是 PPC 时代晚期)能否阐明此设置的作用(或确实作用)?

最佳答案

这里有 Greg Parker 的回复:

Accelerated Objective-C dispatch on PPC is faster because it avoids the dyld stub (which is otherwise used for all cross-library calls). On i386 the dyld stub is much faster than the ppc equivalent, so we didn’t bother doing extra work to bypass it.

https://www.mikeash.com/pyblog/performance-comparisons-of-common-operations.html#comment-63429be30b1123e8a78b7b37bbeb10fe

关于objective-c - GCC_FAST_OBJC_DISPATCH "Accelerated Objective-C Dispatch"实际做什么(或曾经做什么)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21257397/

相关文章:

objective-c - 将现有的 NSString 发送到 StringByEvaluatingJavaScriptFromString

objective-c - 您如何向依赖于子属性的只读@property 发出更新信号?

iphone - Unichar 转 Int 问题

ios - 避免在 iOS 中找不到选择器

iphone - 在uitableview上添加整理分隔符

ios - `[AnyObject]` 到 NSMutableArray

iphone - 简单的节拍器

ios - 是否需要使用无用的 object.self.self.. 或 Class.self.self.. ?

c# - Monotouch/C# 版本的 "stringWithContentsOfUrl"

objective-c - 将对象从没有 arc 编译的类传递到 arc 启用的类?