Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: speed up one-line "sort|uniq -c" perl code

by l2kashe (Deacon)
on Apr 10, 2003 at 01:49 UTC ( [id://249515]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # File stats ;)
    code/monks> wc -l input.list
    ...
    943     10.155.240.3
    3413    10.155.240.1
    0.310u 0.000s 0:00.30 103.3%    0+0k 0+0io 336pf+0w
    
  2. or download this
    # again stats... 
    code/monks> ls -l input.list
    ...
    17948   10.155.240.3
    66208   10.155.240.1
    5.610u 0.010s 0:05.62 100.0%    0+0k 0+0io 336pf+0w
    
  3. or download this
    #!/usr/bin/perl
    # update2: this is parse.pl 
    ...
    16046   40.40.40.40
    17948   41.41.41.41
    2.190u 0.010s 0:02.26 97.3%     0+0k 0+0io 349pf+0w
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (8)
As of 2024-07-17 09:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.