[fpc-devel] TStringList

Marco van de Voort marcov at stack.nl
Sat Feb 19 20:16:56 CET 2005

> I have to ask a little question about FreePascal. It's a trouble with a
> TStringList class. The next code was tested with a 3Mb text file and it
> works very fast with Delphi (dcc32.exe from the Delphi7). But when this
> code was compiled by fpc.exe (1.9.5 version was used) it works at about
> 200 seconds. At the same time, TStringList and TFileStream classes in
> Delphi and FreePascal realisations are very similar. I ask you about, why
> this code works such slow and can I make it faster.

Probably already solved, please try the newest version before reporting a bug.

16 MB file loaded in under 1 second.

More information about the fpc-devel mailing list