-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
性能比jspatch差5倍的瓶颈在哪里呢? #8
Comments
强 编译原理这块还不大熟,我研究下这两个资料 |
时隔了两年,今天刚好翻到了这个 issue
以上均是简化后的 OC 代码,其中还有很多的判断逻辑以及方法调用逻辑(FunctionNode -> BlockNode -> BinaryNode) 以及类型判断等等。
相对于语法树的解释执行,这里已经简化了许多
或许这么说没有太大的体感。
至此,我认为解释执行计算密集型的任务性能会有 10 倍差距也属于正常 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: