sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #54923
Re: [Question #690303]: while vs while-if of what is more fast?
Question #690303 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/690303
Description changed to:
Hello!
I need to know what is more fast:
###################
Code 1:
while True:
if exists(image,0):
break
###################
Code 2:
while not exists(image,0):
pass
###################
Thanks!
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.