[fpc-devel] heap.inc evo when

runewalsh rrunewalsh at gmail.com
Tue Apr 15 22:52:11 CEST 2025


What’s the position on MR !694? Person with the yellow avatar mentioned 
in 
https://gitlab.com/freepascal.org/fpc/source/-/commit/922457e5b58d76a13ff706f9220d9d6350631930#note_2390656703 
there was some discussion somewhere, and that’s all.

Life is short, you know. Especially if your de/allocations randomly 
become slow on their own (chopping up or finalizing the fixed OS chunk 
by the current heap.inc: extra 100 nanoseconds per allocation) and in 
addition to that hit 
https://preshing.com/20110717/the-windows-heap-is-slow-when-launched-from-the-debugger/ 
(HeapAlloc under the debugger: extra 10 MICROseconds per allocation, 
absolutely terrible, I can watch e.g. dynamic strings being built and 
output one by one rather than instantly when hitting this case).



More information about the fpc-devel mailing list