[fpc-pascal] Heap manager tuning
denisgolovan at yandex.ru
Sat Aug 9 23:46:08 CEST 2014
> On 09/08/14 23:01, denisgolovan wrote:
> Try avoiding growing memory blocks small amounts at a time via
> reallocmem or setlength, and instead grow them in bigger chuncks. This
> will both increase the performance of your program and reduce the
> internal memory fragmentation.
I don't have that allocation pattern here. Just a lot of large arrays allocating/deallocating (including local arrays for temporary results).
Any Java-like knobs to play with? :)
More information about the fpc-pascal