← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #665855]: SikulixIDE 1.1.2 - Would it be possible to optimize a long if/elsif/else loop with exists() inside?

 

Question #665855 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/665855

    Status: Open => Answered

RaiMan proposed the following answer:
Yes, searching for 198 images in parallel on the whole screen might lead
to some memory constraints and cpu usage problems. but this only affects
the cpu situation while the above snippet is running. If there are
problems befor and /or afterwards, they have nothing to do with SikuliX.

findAnyList() is more effective than a series of exists() with more than
5 images.

... and no, there is no other solution than these two for your problem.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.