[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090211.162928.193706021.davem@davemloft.net>
Date: Wed, 11 Feb 2009 16:29:28 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: wli@...ementarian.org
Cc: kadlec@...ckhole.kfki.hu, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, netfilter-devel@...r.kernel.org,
rusty@...tcorp.com.au
Subject: Re: [PATCH] Update jhash.h with the new version of Jenkins' hash
From: wli@...ementarian.org
Date: Wed, 11 Feb 2009 19:12:23 -0500
> (double)0xdeadbeef/((unsigned long long)1 << 32) is a rather poor
> approximation of (sqrt(5)-1)/2. If this value which is not the
> golden ratio is arbitrary, calling it something different from
> JHASH_GOLDEN_RATIO would surprise the code's readers much less.
Then we can change the name, whatever...
But really, anyone truly interested will read the friggin' web site
where all the design documents and hash test results live.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists