Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

perl 5.36 and the for_list feature - a simple speed comparison

by swl (Parson)
on Jun 21, 2022 at 09:32 UTC ( [id://11144892]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.036;
    use strict;
    ...
        return $i;
    
    }
    
  2. or download this
    2500050000
    2500050000
    ...
    h_vals         477/s          443%    394%     338%   254%       164% 
    +    --         -6%       -42%
    a_pair_vals    506/s          476%    424%     364%   275%       180% 
    +    6%          --       -39%
    a_for_list     827/s          841%    757%     659%   513%       357% 
    +   73%         63%         --
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlmeditation [id://11144892]
Approved by Athanasius
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-03-28 09:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found