On 28/09/06, Dean Zobec <[EMAIL PROTECTED]> wrote:
It's a typical use. Choose an appropriate HashTableSize when creating
the container (approx.the number of the elements you are going to store
or more), you can test it with different hash functions and see through
the statistics which one is bett
Graeme Geldenhuys ha scritto:
> Thanks to all that replied. The string that is going to be stored in
> the List (with associated object) is a GUID string, so is very random
> by nature. Would this have any negative affects in the hash table?
>
> I will try it out anyway, I can always swap the in
Thanks to all that replied. The string that is going to be stored in
the List (with associated object) is a GUID string, so is very random
by nature. Would this have any negative affects in the hash table?
I will try it out anyway, I can always swap the internal list out if
needed. What I am c
Graeme Geldenhuys ha scritto:
> Hi,
>
> Is TFPHashTable the same as Delphi's THashedStringList?
>
> I am looking for a List class that can hold large amounts of objects
> with a ID string associated for quick lookups.
>
> Regards,
> - Graeme -
Yes, similar to a THashedStringList, but with a sp
Not in cutils.pas - found them in compiler/cclasses.pas. J
>
>
> At 16:00 27-9-2006, you wrote:
> >Hi,
> >
> >Is TFPHashTable the same as Delphi's THashedStringList?
> >
> >I am looking for a List class that can hold large amounts of objects
> >with a ID string associated for quick lookups.
>
At 16:00 27-9-2006, you wrote:
Hi,
Is TFPHashTable the same as Delphi's THashedStringList?
I am looking for a List class that can hold large amounts of objects
with a ID string associated for quick lookups.
For the compiler i created a TFPHashList and TFPHashObjectList as
similair to TFPList
Graeme,
I dont know if is the same, but I know that the operations in
THashedStringList is sloow, too much unecessary operations, I use
TStringHash class for that.
for interfaces:
Look the unit JazzClass.pas in
http://jazz.liws.com.br/download/jazz_a7.zip
for objects:
http://blogs.liw