You probably meant to say that modifying $try here is superfluous.
No. Because it does the right thing it is not superfluous.
it's actually a teenie weenie bit faster to use pre-increment and pre-decrement.
So... you are for optimization over clarity?
As Donald Knuth has said:
We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil
In reply to Re^7: Binary search algorithm.
by jwkrahn
in thread Binary search algorithm.
by kindlychung
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |