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

pascal-generics-bench

View on GitHub

Member rating

No ratings yet.

Sign in to rate this project.

README

Some benchmarks of different List implementations in Pascal.

Usage with Perl 5.10+

pascal
./run.pl [TYPE]

where TYPE is one of:

  • arrays, using native arrays
  • fgl, using TFPGList and TFPGObjectList from FGL
  • fglc, modified fgl by paweld
  • generics, using TList and TObjectList from Generics.Collections

Manual usage

pascal
time fpc -dfgl bench.pas
cat input.txt | time ./bench