[fpc-devel] Compiler bottlenecks]
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Thu Jul 15 16:13:25 CEST 2010
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
More information about the fpc-devel
mailing list