-
Notifications
You must be signed in to change notification settings - Fork 0
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
var access so long #10
Comments
with this https://www.autoitscript.com/forum/topic/202519-idispatch-object-in-assembly/ result: |
It is tricky to fix. I do indeed want to improve the speed, and are making small scripts to compare running time of different approaches to code that produces the same output, but where one solution might reduce the running time. |
Trying to implement the hash-table solution, i ran into some problems that i do not have the time for experimenting on currently. |
on last version a litttle better results |
With version 4.0.0 speed should be at least ~20% faster. |
code for tests https://pastebin.com/iahENe7v
access to variable take 100x longer than to AutoItObject UDF
and 780x longer than to simple Variable
result:
Variable cycle 10k => 1.991 ms || _console_time
Variable one => 0.006 ms || _console_time
AutoItObject UDF FirstObj cycle 10k => 15.763 ms || _console_time
AutoItObject UDF FirstObj one => 0.008 ms || _console_time
AutoItObject UDF SecondObj cycle 10k => 15.696 ms || _console_time
AutoItObject UDF SecondObj one => 0.006 ms || _console_time
AutoItObject Internal cycle 10k => 1554.424 ms || _console_time
AutoItObject Internal one => 0.162 ms || _console_time
The text was updated successfully, but these errors were encountered: