Re: FreeBSD Most wanted
On Sun, 7 Mar 2004, Colin Percival wrote:
> At 19:31 07/03/2004, Narvi wrote:
> >The *traditional* hash table is one that uses linear probing, that is, it
> >converts a list to a nice cache friendly array and provides you with a
> >hint where you should start looking.
>
> Does anyone actually do that any more? When I absolutely need a hash
It is still around. It plays *exteremely* nicely with cache, for example.
Sure, it takes some extra care to make sure you don't run into nastiness,
but it can give you a very fast and efficent hash.
> table, I normally use double hashing and gradual rehashing. But maybe
> that's just a personal quirk.
>
Have you looked at cuckoo hashing?
> Colin Percival
>
>
_______________________________________________
freebsd-chat@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-chat
To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"
討論串 (同標題文章)
完整討論串 (本文為第 38 之 43 篇):