Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Benchmarking perfect shuffles

by jdhedden (Deacon)
on Feb 28, 2006 at 18:50 UTC ( [id://533458]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        @sd = map { rand } 1 .. $N;
        cmpthese(-10, \%shtest);
    }
    
  2. or download this
        'MRMA' => sub { Math::Random::MT::Auto::shuffle(\@sd); }
    

Log In?
Username:
Password:

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

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

    No recent polls found