Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Faster and more efficient way to read a file vertically

by karlgoethebier (Abbot)
on Nov 05, 2017 at 14:15 UTC ( [id://1202776]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ perl test.pl
                  Rate unpack substr  split
    unpack 171232877/s     --   -23%   -31%
    substr 223713647/s    31%     --   -10%
    split  248138958/s    45%    11%     --
    
  2. or download this
    karls-mac-mini:monks karl$ perl -e 'printf ("%.1f\n", 248138958/171232
    +877);'
    1.4
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-26 03:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found