Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: code optimization

by gsiems (Chaplain)
on Nov 03, 2011 at 21:00 UTC ( #935773=note: print w/ replies, xml ) Need Help??


in reply to code optimization

For a command line version using clac (http://sourceforge.net/projects/clac/), how about:

grep -P "\d\s+\d" test.lst | awk '{print $1 "/" $2}' | clac | sort -n +| head -n 1


Comment on Re: code optimization
Download Code
Replies are listed 'Best First'.
Re^2: code optimization
by spx2 (Chaplain) on Nov 04, 2011 at 10:26 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2015-08-01 01:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (285 votes), past polls