-
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
XEH - Use compileScript
in compileEventHandlers
#1467
Conversation
IIRC there was almost no difference in speed between the 2 commands for plain old sqf |
from my testsing it is faster to compile a script via compileScript vs what it is when using compile and preprocessfilelinenumbers. |
one possible benefit would be if someone uses sqfc but doesn't use the new macro, they would get the loading speed bonus of sqfc (but then lose the in-game performance because of stringify). But this just might confuse developers more |
Close then as there is no benefit, but rather possible confusion? |
compileScript
in compileEventHandlers
maybe we should wait for 2.06 and test again on that |
Did anyone retest this with 2.06? I assume there is no difference, and if so we should close this, runtime performance is more important than load performance. |
tested with
i get almost no difference between I don't see any harm in merging this though |
Is it ready to merge then? |
When merged this pull request will:
With this change, mods that still use the old COMPILE_FILE macro still get the loading time speedup from compileScript