[Lazarus] Published properties of classtypes

Ales Katona almindor at gmail.com
Mon Mar 3 14:08:08 CET 2008


On 01/03/2008, Mattias Gaertner <nc-gaertnma at netcologne.de> wrote:
>  > 1) Why doesn't the translations.pas unit use FPC's standard
>  > TFPObjectHashTable class, but instead opt for a custom written
>  > TStringHashList (StringHashList.pas unit)?
>
> AFAIR TStringHashList existed first.

OK, that would make sense.


>  > What is the benefit of
>  > using the StringHashList unit?
>
> AFAIK TStringHashList is faster.

One needs to changes about 4 lines of code to switch between the two
hash implementations.  Any idea how I can test the speed difference
between the two?


Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/



More information about the Lazarus mailing list