Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^4: use regular expressions across multiple lines from a very large input fileby CountZero (Bishop) |
on Dec 06, 2010 at 23:33 UTC ( [id://875704]=note: print w/replies, xml ) | Need Help?? |
Yes, these things are always quite tricky to predict. So many things may influence it: buffer-size, cache-effects, other processes stealing the disk-controller from your script or pushing your script out to disk, ... Trial & Error is probably the only way to go. CountZero A program should be light and agile, its subroutines connected like a string of pearls. The spirit and intent of the program should be retained throughout. There should be neither too little or too much, neither needless loops nor useless variables, neither lack of structure nor overwhelming rigidity." - The Tao of Programming, 4.1 - Geoffrey James
In Section
Seekers of Perl Wisdom
|
|