On 01/03/2008, Mattias Gaertner <[EMAIL PROTECTED]> 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/
_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to