Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Is there a reason to use "join" instead of just using the period? (Benchmark results.)

by kcott (Archbishop)
on Nov 19, 2010 at 00:45 UTC ( [id://872391]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!perl
    
    ...
        $x . $y . $z . $x . $y . $z . $x . $y . $z . $x . $y . $z .
        $x . $y . $z . $x . $y . $z . $x . $y . $z . $x . $y . $z;
    }
    
  2. or download this
    $ bench_join_concat.pl
    ************************************************************
    ...
    cat_3   6032896/s  1644%   1550%   779%    671%   339%    305%   127% 
    + 125%    29%    --    -6%  -37%
    join_2  6390454/s  1748%   1647%   831%    717%   365%    329%   140% 
    + 139%    36%    6%     --  -33%
    cat_2   9572936/s  2668%   2517%  1295%   1124%   597%    542%   260% 
    + 258%   104%   59%    50%    --
    

Log In?
Username:
Password:

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

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

    No recent polls found