Subject: Re: CVS commit: src/sys/netkey
To: None <>
From: Jun-ichiro itojun Hagino <>
List: source-changes
Date: 09/14/2003 16:26:38
> Generally speaking, the consensus I've seen is that the expense of a
> division/modulus operation is higher than the savings from the
> improved hashing that a prime gives you, and that you are better off
> using algorithms like the ones we use elsewhere in the kernel that use
> power of two hash tables rather than prime sized hash tables and
> simply bitmask.

	ok, thanks for the tip.