|
|
| Keep It Simple, Stupid | |
| PerlMonks |
Re^2: Perl and common subexpressionsby Stevie-O (Friar) |
| on Dec 23, 2004 at 15:13 UTC ( #417115=note: print w/ replies, xml ) | Need Help?? |
|
This is very true. That is, by the way, why I qualified my statement with 'CPU-bound'. When the bulk of your program involves I/O, the overhead from array, hash, and stash lookups becomes negligible -- even for pipes, because they involve context switches to the process on the other end of the pipe.
--Stevie-O
In Section
Meditations
|
|
||||||||||||||||||||