On 2013/09/06 23:23:49, khr wrote: > *** Submitted as https://code.google.com/p/go/source/detail?r=3338bbc9c09b *** > > runtime: Smhasher ...
11 years, 8 months ago
(2013-09-07 02:51:48 UTC)
#4
Message was sent while issue was closed.
On 2013/09/06 23:23:49, khr wrote:
> *** Submitted as https://code.google.com/p/go/source/detail?r=3338bbc9c09b ***
>
> runtime: Smhasher tests of our map hash function.
>
> R=golang-dev, rsc
> CC=golang-dev
> https://codereview.appspot.com/13436045
You could speed up, a little, hash_test.go:
401 for c = 0.0; math.Pow(math.Erf(c/math.Sqrt(2)), float64(N)) < .99; c += .1 {
402 }
by replacing the function math.Sqrt(2) with the constant math.Sqrt2.
-- Charlie
Issue 13436045: code review 13436045: runtime: Smhasher tests of our map hash function.
(Closed)
Created 11 years, 8 months ago by khr
Modified 11 years, 8 months ago
Reviewers: Charlie Dorian
Base URL:
Comments: 0