Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re^3: How to improve speed of reading big files

by Marshall (Canon)
on Sep 18, 2009 at 08:58 UTC ( #796052=note: print w/replies, xml ) Need Help??

in reply to Re^2: How to improve speed of reading big files
in thread How to improve speed of reading big files

This is unbelievable! Most likely your awk guys didn't know how to write Perl very well. They coded awk more efficiently because that is what they knew how to do.
  • Comment on Re^3: How to improve speed of reading big files

Replies are listed 'Best First'.
Re^4: How to improve speed of reading big files
by djp (Hermit) on Sep 21, 2009 at 02:19 UTC
    No it's not unbelievable at all. It was a Perl expert who recoded the app in awk. We don't have 'awk guys', does anyone?
      Yes there are awk guys out there. I get awk code and have to deal with it from 2 people who will remain anonymous. Their awk code is good awk code. I write Perl stuff that "stitches their awk together" and we get a good result (meaning application that works).

      As far as "Perl experts" go, some folks are considerably better at Perl than others. I remain skeptical that a well coded Perl app would be of lower performance than an awk app. I will add that fewer lines of Perl doesn't necessarily mean higher performance. I will also add that the three of us have an app and process that works and we don't see any need to optimize the performance. I would argue before taking on an "optimizing" mission, a relevant questions is: does anybody care and does it matter? The main thing is: does it work?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://796052]
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2023-12-03 23:32 GMT
Find Nodes?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?

    Results (20 votes). Check out past polls.