Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: [OT] The statistics of hashing.

by roboticus (Chancellor)
on Apr 02, 2012 at 22:50 UTC ( [id://963138]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $ ./ana_2.pl 16 4 65536
    N=65536, V=4, X=65536 integral(65536)=139415.765849051, integral(0)=13
    +6533.333333333
    ...
    $ ./ana_2.pl 16 10 32768
    N=65536, V=10, X=32768 integral(32768)=191953.190301726, integral(0)=1
    +91952.863492063
    Expected collisions: 0.326809662627056
    
  2. or download this
    $ cat ana_2.pl
    #!/usr/bin/perl
    ...
                +  10*$N   *exp( -1*$X/$N)
                + $X;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (5)
As of 2024-04-19 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found