lkml.org 
[lkml]   [1999]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.2.6_andrea2.bz2
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/

\
 
 \ /
  Last update: 2005-03-22 13:51    [W:0.170 / U:1.924 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site