3 ms·
I don't think there is no such thing as a "C memory allocation model". There are various ways of requesting memory from the OS. But not requesting anything in a
by jstimpfle 9y ago
I don't think there is no such thing as a "C memory allocation model". There are various ways of requesting memory from the OS. But not requesting anything in advance is going to be very slow in any setting that requires a context switch or virtual memory.
- jacquesm 9y agoA typical memory manager will scale up the size of the requests to the OS whenever it runs out of space.