Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Why re-reading DATA is slow

by mkmcconn (Chaplain)
on Nov 04, 2001 at 02:45 UTC ( [id://123103]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    
    ...
    5   City  _____________
    6   State  _____________
    7   _______________________________________   _
    
  2. or download this
    Benchmark: timing 10000 iterations of READAR, REFOR, REINFOR, REWHILE.
    +..
        READAR:  1 wallclock secs ( 2.80 usr +  0.00 sys =  2.80 CPU) @ 35
    +71.43/s (n=10000)
         REFOR: 43 wallclock secs (42.95 usr +  0.00 sys = 42.95 CPU) @ 23
    +2.83/s (n=10000)
       REINFOR: 35 wallclock secs (34.33 usr +  0.00 sys = 34.33 CPU) @ 29
    +1.29/s (n=10000)
       REWHILE: 35 wallclock secs (34.77 usr +  0.00 sys = 34.77 CPU) @ 28
    +7.60/s (n=10000)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-25 18:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found