in reply to variable compare
I hate loop.. It make performance bad.Not necessarily. And sometimes, code without any explicit loop is still looping implicitly over the items of an array. So don't reject loops too easily.
Besides, do you really need very high performance? Your code will execute in a tiny split second, why would you want it to go faster (unless, of course, you need to run it on billions of items)?
|
|---|