strace -tt -f -e '$file="filename";-e($file) && -f($file)'
(as well as the alternative) says it's exactly one stat system call more expensive, unsurprisingly. Which on the system I tested it on was something like 0.0001 seconds but that will obviously vary.
In reply to Re^3: What does _ mean?
by tirwhan
in thread What does _ mean?
by bichonfrise74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |