3 ms·
> How often does the dynamic allocation rule lead to an ad-hoc allocator appearing inside the program? You could maybe call filescope buffers with an size coun
by rightbyte 6y ago
> How often does the dynamic allocation rule lead to an ad-hoc allocator appearing inside the program?
You could maybe call filescope buffers with an size counter a dynamic memory allocation. I.e. for storing RS232 or CAN messages. Since they shrink and grow.
The important thing is that you want to know that flooding one buffer wont flood another, which malloc could result in if it was used for unrelated buffers.