[fpc-pascal] THashedStringList vs TFPHashTable

Cesar Romero cesarliws at gmail.com
Wed Sep 27 16:17:04 CEST 2006


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.liws.com.br/cesar/download/ObjectRegister.html
    I wrote a article in my blog fast add and search objects 
http://blogs.liws.com.br/cesar/?p=23, sorry still portuguese, but you 
can look at source code:
 

[]s


Cesar Romero


Graeme Geldenhuys escreveu:
> 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 -
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
>




More information about the fpc-pascal mailing list