Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Catalog · How the catalog works
Anything · Lazarus or Delphi
Random projectRandom project

delphi

Delphi utilities

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

# delphi

Delphi utilities

This is a collection of various Delphi programming utilities. I hope you find them useful.

TFastLookupStringList – has the exact same functionality as a TStringList, but does fast lookups (IndexOf) even if it is not sorted. It accomplishes this by using an internal dictionary.

It is most useful for stringlists with many items (at least 100 items or more, but most notably useful with, say, tens of thousands of items). This class uses its internal dictionary only when Sorted = False. When Sorted = True, it handles everything using TStringList's original methods.

It should work on all versions of Delphi that support generics (has been tested on Delphi XE2, 10.2 Tokyo, 10.4 Sydney, 11.3 Alexandria, 12.3 Athens and 13.1 Florence).