TmwHashStrings 1.1

By Martin Waldenburg

Freeware 05 Nov 2002

In category

Kylix > Components > Tools


TmwHashStrings combines the advantages of hasching and binary search.

TmwStringHash: Any TStrings descentand can be assigned to and hashed by it.

TmwHashedStringList uses TmwStringHash to perform hashes. TmwStringHash uses a two dimensional dynamic array to store hash values and the index of strings in a TString.

The main array is set to mod 11 of TStrings.Count.

TmwStringHash can perform one million hashes in one million items in about two seconds and two million hashes in two million items in about four seconds (TBird 1.3 GHz Kylix3 on SuSe 8.1).


  • Status: Fully functional
  • Source: FW
  • Size: 9 906kB


  • Kylix 3