Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: map versus for

by GrandFather (Saint)
on Aug 05, 2008 at 11:41 UTC ( [id://702330]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    sub test_mapf {
        return map { sqrt $_ } @source;
    }
    
  2. or download this
           Rate  map  for mapf forv mapv
    map  2.24/s   --  -3% -31% -49% -78%
    ...
    mapf 3.27/s  46%  41%   -- -26% -68%
    forv 4.43/s  98%  92%  36%   -- -56%
    mapv 10.1/s 353% 339% 210% 129%   --
    
  3. or download this
             Rate  for  map mapf forv mapv
    for   23849/s   --  -3% -29% -46% -76%
    ...
    mapf  33666/s  41%  37%   -- -24% -66%
    forv  44571/s  87%  82%  32%   -- -56%
    mapv 100159/s 320% 309% 198% 125%   --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-24 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found