-
Notifications
You must be signed in to change notification settings - Fork 739
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
Extensions - Replace ace_parse_imagepath
with SQF regexFind
#8243
Conversation
How much slower? Does it matter in this use case since it's interact menu? |
1.31926 ms for 10x - Original SQF (Can sorta understand why I thought we needed an extension) 0.0094 ms for 10x - callExtension 0.0532 ms for 10x - new regex 0.0565 ms for 10x - "modern" SQF
yuck, no wonder it was so slow better sqf would also be fine, something like
|
Awesome! Always nice to see optimizations with some numbers! |
Btw Arma 2.06 has regex. |
Never mind, I forgot we are on 2.04 and not 2.06 yet. 🤕 |
ace_parse_imagepath
with SQF regexFind
slower than the extension, but a lot simpler