Re: using a tree to delete duplicate lines in a text
- From: Richard Heathfield <rjh@xxxxxxxxxxxxxxx>
- Date: Sun, 19 Apr 2009 03:00:22 +0000
Franken Sense said:
<snip>
Are "collisions" items that end up in the
same bucket?
Either "yes", or "they would if you didn't stop them", depending on
how you handle - um - collisions. Some people, on encountering a
collision, move on to an empty bucket in a (hopefully!) robust and
predictable way. Others use a subsidiary data structure within the
bucket, eg a list, a tree, or even another hash table.
--
Richard Heathfield <http://www.cpax.org.uk>
Email: -http://www. +rjh@
Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
"Usenet is a strange place" - dmr 29 July 1999
.
- References:
- using a tree to delete duplicate lines in a text
- From: Franken Sense
- Re: using a tree to delete duplicate lines in a text
- From: Ben Pfaff
- Re: using a tree to delete duplicate lines in a text
- From: CBFalconer
- Re: using a tree to delete duplicate lines in a text
- From: Franken Sense
- Re: using a tree to delete duplicate lines in a text
- From: Ben Pfaff
- Re: using a tree to delete duplicate lines in a text
- From: Richard Harter
- Re: using a tree to delete duplicate lines in a text
- From: Ben Pfaff
- Re: using a tree to delete duplicate lines in a text
- From: Franken Sense
- using a tree to delete duplicate lines in a text
- Prev by Date: Re: One algorithm problem
- Next by Date: Re: using a tree to delete duplicate lines in a text
- Previous by thread: Re: using a tree to delete duplicate lines in a text
- Next by thread: Hash tables (Was: using a tree ...)
- Index(es):
Relevant Pages
|