We can't let the awk'ers have this one so easily can we?
Keep in mind that awk is a more specialized tool than perl, so it's really not important if awk can do some things faster than perl. It's fine to care about runtime speed, but it can waste your time. Until a program must be faster, spending time optimizing it is simply a waste of your own time. If you enjoy working overtime, then have at it. But I find it better to spend that time with family, friends, goofing off, etc.
Remember: first make it work. Then make it work correctly. Next, check if it meets requirements. If, and only if, it fails to meet speed requirements, make it faster.
...roboticus
Assembly language: Fun and runs fastest!. I haven't had to use it since around 1995.
C/C++: Fun and runs fast! I use it for everything I need to make faster.
Perl: Fun and fastest to write! Fast enough runtime for 95+% of everything I do.
In reply to Re^2: Simple line parse question
by roboticus
in thread Simple line parse question
by jimmy.pl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |