Subject: Re: New hash algorithm - FNV - for use in the kernel
To: None <,>
From: Thor Lancelot Simon <>
List: tech-kern
Date: 11/28/2001 14:22:26
On Wed, Nov 28, 2001 at 11:05:08AM -0800, Jason R Thorpe wrote:
> On Wed, Nov 28, 2001 at 01:55:34PM -0500, Thor Lancelot Simon wrote:
>  > I have a concrete proposal.  Let's define, somewhere in a MD header file,
>  > "string_hash(x)" and "binary_hash(x)" for each machine architecture.  At
>  > worst, to the name of a function, but no matter what *not* to an actual
>  > function pointer; maybe just to the actual inline expansion of the hash
>  > function.
> I don't think it has to be an MD function -- I think we can select
> one (that is one string and one binary) that works well on all platforms.

Okay, so define it somewhere MI, and let an MD header redefine it if it
turns out there's something significantly better for some platform.  That
works, right?

Thor Lancelot Simon	                            
    And now he couldn't remember when this passion had flown, leaving him so
  foolish and bewildered and astray: can any man?
						   William Styron