Marco van de Voort schrieb:
In our previous episode, Florian Klaempfl said:
zero it again, so where is the gain in that ?
While it's in the freelist, the helper task
... thread ...

zeros it so when it is
allocated again, it needs no zeroing again.

But that then zeroes every deallocation.

A flag could be used to prevent zeroing at least at program shutdown (or the helper thread could be terminated).

DoDi

_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to