[fpc-devel] Performace question about dynamic arrays.

Agustin Barto abarto at gmail.com
Wed Mar 2 02:57:23 CET 2005

Some on the fpc-pascal list suggested that I should ask the devel
guys, so here goes:

Attached there's a little program that I wrote to test the performace
of several Extended matrix implementations. I tested the three
implementations both on Delphi 7 and fpc 1.9.8 (on Linux and Windows)
and the fpc version was twice as slow as the Delphi version. There
were no significant differences between any of the implementations on
either complier.

My questions are:

* What can I do to improve the performace on fpc? I would like to dump
Delphi (and Windows altogether) but this code is part of a matrix unit
that suffers a lot when I use the program compiled with fpc.
* Given that there were no differences between the implementations,
which one do you think is the best in terms of performace?

Let me now (and accept my apologies) if this mail shouldn't be on this list.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: TestArrays.pas
Type: application/octet-stream
Size: 3160 bytes
Desc: not available
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20050301/453f9c26/attachment.obj>

More information about the fpc-devel mailing list