我想知道使用 for 循环和使用 GCD 的 dispatch_apply
函数有什么区别,但在文档和此处的问题中找不到答案。
此外,在运行时情况下使用 GCD 函数作为 GLKit 渲染/更新方法会产生更好的结果吗?
最佳答案
Also, will using the GCD function in a runtime situation as a GLKit render/update method will produce better results?
回答该问题的唯一方法是尝试并衡量性能。
关于objective-c - GCD 和 for 循环,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10330275/