Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Fastest way to "pick without replacement"

by Eily (Monsignor)
on Nov 20, 2020 at 15:37 UTC ( [id://11123905]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    use Benchmark qw/cmpthese/;
    ...
        join("\0", sort @output) eq join("\0", sort @expect) or die if TES
    +T;
      },
    });
    
  2. or download this
    C:\Projets\perl>perl pm_select_11123879.pm
              Rate   grep   swap splice
    grep   14287/s     --   -73%   -73%
    swap   52519/s   268%     --    -0%
    splice 52549/s   268%     0%     --
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-25 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found