$ time perl5.10.0 -ne '/./ and print' /boot/kernel/kernel > /dev/null 0.070u 0.015s 0:00.09 88.8% 1490+1246k 0+0io 0pf+0w $ time grep -a '.' /boot/kernel/kernel > /dev/null 0.026u 0.000s 0:00.03 66.6% 114+1056k 0+0io 0pf+0w
In reply to Re: Perl/grep speed comparison
by eserte
in thread Perl/grep speed comparison
by Sixtease
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |