TmwHashStrings 1.1
In category
Description
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).
Informations
- Status: Fully functional
- Source: FW
- Size: 9 906kB
Platforms:
- Kylix 3
Downloads