[fpc-pascal] Is the TFPGMap.KeyData()/TDictionary.TryGetValue() faster than TStringList.Values[]?

Maciej Izak hnb.code at gmail.com
Thu Jan 14 08:27:30 CET 2016


>
> Please disconsider this link above, the correct link is:
> http://pastebin.com/SUxJ1kKc.
>
>
My results for FPC and TDictionary from Generics.Collections (
https://github.com/dathox/generics.collections ):

TStringList: 00:00:03.644
TMyList: 00:00:00.007
TMyList: 00:00:00.007
TStringList: 00:00:03.708

Delphi XE2 :

TStringList: 00:00:02.938
TMyList: 00:00:00.002
TMyList: 00:00:00.003
TStringList: 00:00:03.063
-- 
Best regards,
Maciej Izak
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160114/a74029f8/attachment.html>


More information about the fpc-pascal mailing list