I read a page(not ahk) about && and ||
They mention && is faster because when the condition of the left side is not meet , it will stop/break instantly.
But AND will read/load? the complete condition no matter what.
I guess || are kind of the same to OR
Are they correct ? Should we replace AND to && ? thk
Is && better than AND Topic is solved
Re: Is && better than AND Topic is solved
Hallo,
Short-circuit evaluation is used for all of them to improve the performance!
https://www.autohotkey.com/docs/Variables.htm#and
My opinion, AND and OR are visually nicer.
Short-circuit evaluation is used for all of them to improve the performance!
https://www.autohotkey.com/docs/Variables.htm#and
My opinion, AND and OR are visually nicer.