|
Post by swoogi on Nov 15, 2019 13:33:29 GMT
Hello,
I run some really long and complex scripts.
What can i do to optimize the speed?
What I do is I use Regions to search only in this arenas to imporve the speed, I use low resolution in nox (960) and a fast CPU.
what can I do to imporve the speed more?
Its better to use Region:existsClick(Pattern("warp3.png"):similar(0.7), 1)
or without similar?
I try to use getcolour instead of looking for images..maybe this is faster? (because i only need sometimes the colour and not the complete pic)
Is there any Guide how I can make the scripts faster? I mean some good hints how I can imporve the Speed of the Script ( I use the deamon too)
|
|
|
Post by AnkuLua on Nov 21, 2019 5:28:22 GMT
similar doesn't affect the speed. You may try getColor().
Sometimes, the speed is related to the script architecture. Sometimes, it's just because many images to check on the same scene. It's hard to say one way works for all.
Accessibility is faster than daemon on clicking.
|
|