I just thought it checks/compares more signs in the case of $flag ne -1
$flag != -1 and $flag ne -1 aren't the same thing. ne is string comparison, and I could well imagine that it's slightly slower (but I really doubt that I'm able to prove that in a benchmark, so don't believe me).
Btw, what does "-MO=Concise" exactlly do ?
It's the same as use B::Concise;, which prints something like a syntax tree for the program. See B::Concise for more information.
In reply to Re^3: Which is faster ?
by moritz
in thread Which is faster ?
by thenetfreaker
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |