Skip to content
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

给JS testcase包上立即执行函数 #2

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Conversation

zombieyang
Copy link
Contributor

@zombieyang zombieyang commented Mar 1, 2023

对全局作用域的过度使用会导致JS变量查找变慢

具体也可能跟JIT优化有关系,总之加上之后比较接近JS真实的能力。


相对来说,xLua的DoString本身就是在一个function下执行的

@throw-out throw-out merged commit d93098f into throw-out:main Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants