Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: (tye)Re2: Slurp a file

by davorg (Chancellor)
on Jan 08, 2001 at 22:20 UTC ( [id://50542]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl -w
    use strict;
    ...
    
    timethese(100_000, {join => \&joinit,
                        slash => \&dollarslash} );
    
  2. or download this
    Benchmark: timing 100000 iterations of join, slash...
          join: 12 wallclock secs ( 9.98 usr +  1.33 sys = 11.31 CPU)
         slash:  6 wallclock secs ( 3.79 usr +  1.53 sys =  5.32 CPU)
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2024-04-24 07:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found