Re: 2.2.6_andrea2.bz2

Andrea Arcangeli (andrea@e-mind.com)
Wed, 5 May 1999 10:34:38 +0200 (CEST)


On Mon, 3 May 1999, Pavel Machek wrote:

>for hash? I think that nearly every hash is going to be linear in
>worst case (i.e. everything in one chain).

It depends on the hashfn and on the input you'll give to the hashfunction.

Personally I think that the overhead of a secondary hashtable will harm
more performances than having to handle some more collisions. better to
enlarge the first hashtable instead to add a second one.

Andrea Arcangeli

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/