Re: How hash tables work

From: Martin Harvey (Demon account) (martin_at_nospam_pergolesi.demon.co.uk)
Date: 10/31/04


Date: Sun, 31 Oct 2004 00:16:23 GMT

On Mon, 11 Oct 2004 09:46:14 +0000 (UTC), Peter Piper
<NoEmail@Email.com> wrote:

>Thanks J, I think maybe i have used the wrong phrase and i am trying to
>produce a index table. Basically i need to sort my records by more than
>one key field eg. Lastname, then firstname.

Would you, by any chance, also need to index data to allow for fast
searching on several fields but without combining them?

If so, and providing the fields are unique indices, then I have some
code I hacked together to maintain multiple AVL tree indexes into
something a bit like a TList.

MH.



Relevant Pages

  • Re: How do I alphabetize a column but also have the corresponding cells move with the sort?
    ... rows without repeating the name in the same row in column A would cause them ... to sort incorrectly. ... If you want to have multiple rows for a definition, ... you need to have a matching value in the key field. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: How hash tables work
    ... Basically i need to sort my records by more than ... as a string or create an integer hash from fields. ... In my case it is possible to have duplicate hashes. ... >>So instead of doing a binary search on the first key field in the ...
    (alt.comp.lang.borland-delphi)
  • Re: SELECT . . . ORDER BY - SQL 2000 vs. JET 4
    ... mention locale. ... with this type of sort. ... I ended up doing a bubble-type sort on the key, and single inquiries ... use the ORDER BY statement, but, in the case of a key field, it may not be ...
    (microsoft.public.sqlserver.programming)
  • [OT] IDCAMS Error Counts?
    ... Originally the file was de-duped with a SORT on the key field and the SUM ... and the de-duping no longer occurs. ... REPRO'd there are records with duplicate key fields present and IDCAMS ...
    (comp.lang.cobol)