Forum > General

Using generics

<< < (3/3)

Ocye:
Out of curiosity is the TFPGMap faster than key/value or rather string/objects properties of a TStringList? And if so to what extend for ~100k items?

typo:
Maybe TDictionaryStringList can help you, it is on LazUtils folder and has an example project. It is optimized for lookup, IndexOf was overriden to use a public Contains function, which uses the map directly instead of a linear search.

http://wiki.lazarus.freepascal.org/LazUtils

Navigation

[0] Message Index

[*] Previous page

Go to full version