develooper Front page | perl.perl5.porters | Postings from October 2003

Re: 5.8.2-RC1 and mp2

Thread Previous
Mark Jason Dominus
October 30, 2003 12:40
Re: 5.8.2-RC1 and mp2
Message ID:
Scott A Crosby <>:
> > How much of a speed hit is a log on a modern CPU?
> No need. 

I agree.  Don't use log.  Sorry that I didn't make this clear.

> For N= 10^9, the constant would be 20. Just use that.

For N = 10^9, the odds of having a bucket of size 20 or more are about
15,000,000,000 to 1.  I suggest using 14 instead of 20.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About