[fpc-pascal] performance when resizing a dynamic array
David Emerson
dle3ab at angelbase.com
Thu Dec 8 00:15:07 CET 2016
Graeme Geldenhuys wrote:
> Martin Schreiber wrote:
>> That happens with every reallocmem() with FPC memory manager so using a
>> getmem() block instead of a dynamic array has no advantage in this
>
> Maybe a good old linked list implementation is the best performer then.
> Back to the Pascal of the 80's and 90's. :)
I created a list class template, using macros, to deal with this and
other issues. Would be happy to share the code if you'd like it.
~David.
More information about the fpc-pascal
mailing list