>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/