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

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

by roboticus (Canon)
on Apr 02, 2012 at 22:50 UTC ( #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
Node Status?
node history
Node Type: note [id://963138]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2014-07-10 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (198 votes), past polls