in reply to How to improve speed of reading big files

My semi educated guess is that anything short of a hardware change won't shave off more than 20 secs.
  • Comment on Re: How to improve speed of reading big files

Replies are listed 'Best First'.
Re^2: How to improve speed of reading big files
by korlaz (Novice) on Sep 18, 2009 at 08:01 UTC
    • Hardware: local drive SCSI (can't change it)
    • Profiling: writing in parenthesis
    • Changing the code around a bit: the file is already read as an array (grep function on the handle):
    • grep { /Running|Dump|FromCB|Update/o } <$fh>

      Are you suggesting the items in your original post (secs), is your profiling output? Are you sure you read Devel::Dprof?
      Do you understand that you can change your code around to get real nice detail about what's taking time, etc?