mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jamie Lokier <lk@tantalophile.demon.co.uk>
To: William Lee Irwin III <wli@holomorphy.com>, linux-kernel@vger.kernel.org
Subject: Re: hashed waitqueues
Date: Wed, 16 Jan 2002 14:21:41 +0000	[thread overview]
Message-ID: <20020116142140.A31993@kushida.apsleyroad.org> (raw)
In-Reply-To: <20020104094049.A10326@holomorphy.com> <E16MeqE-0001Ea-00@starship.berlin> <20020104173923.B10391@holomorphy.com>
In-Reply-To: <20020104173923.B10391@holomorphy.com>; from wli@holomorphy.com on Fri, Jan 04, 2002 at 05:39:23PM -0800

William Lee Irwin III wrote:
> I believe to address architectures where multiplication is prohibitively
> expensive I should do some reading to determine a set of theoretically
> sound candidates for non-multiplicative hash functions and benchmark them.
> Knuth has some general rules about design but I would rather merely test
> some already verified by someone else and use the one that benches best
> than duplicate the various historical efforts to find good hash functions.

Looking up "good hash function" on Google leads to these notable pages:

http://burtleburtle.net/bob/hash/doobs.html
	A Hash Function For Hash Table Lookup - Robert Jenkins
http://burtleburtle.net/bob/hash/
	Hash Functions and Block Ciphers - Robert Jenkins
http://www.concentric.net/~Ttwang/tech/inthash.htm
	Integer Hash Function - Thomas Wang

The last one is interesting because it mentions the golden prime
multiplier function, and suggests good non-multipler functions instead.
(Justification: the multiplier function doesn't distribute bits evenly).

enjoy,
-- Jamie

  parent reply	other threads:[~2002-01-16 14:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-04 17:40 William Lee Irwin III
2002-01-04 21:47 ` Momchil Velikov
2002-01-04 23:07 ` Andrew Morton
2002-01-04 23:21   ` Andrew Morton
2002-01-04 23:48   ` William Lee Irwin III
2002-01-05  0:37 ` Daniel Phillips
2002-01-05  1:39   ` William Lee Irwin III
2002-01-05  2:44     ` Daniel Phillips
2002-01-05  5:06       ` William Lee Irwin III
2002-01-08 18:20         ` William Lee Irwin III
2002-01-08 18:27           ` William Lee Irwin III
     [not found]             ` <523d1gu1ni.fsf@love-boat.topspincom.com>
2002-01-08 18:44               ` William Lee Irwin III
2002-01-08 19:20           ` Hugh Dickins
2002-01-08 20:19             ` William Lee Irwin III
2002-01-16 14:21     ` Jamie Lokier [this message]
2002-01-16 17:42       ` William Lee Irwin III
2002-01-18  0:34         ` Jamie Lokier
2002-01-06 21:09 ` Rik van Riel
2002-01-04 21:17 Ed Tomlinson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020116142140.A31993@kushida.apsleyroad.org \
    --to=lk@tantalophile.demon.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wli@holomorphy.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®