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

Re: 5.8.2-RC1 and mp2

Thread Previous | Thread Next
From:
Mark Jason Dominus
Date:
October 30, 2003 12:40
Subject:
Re: 5.8.2-RC1 and mp2
Message ID:
20031030204117.16008.qmail@plover.com
Scott A Crosby <scrosby@cs.rice.edu>:
> > 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 | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About