Hey all!
I have a quick couple of questions about the implementation of malloc() and calloc() and the heap in the C toolchain.
First: is the heap/BSS block guaranteed to be 60 KiB regardless of other user files on the system, or is there a chance of running out of memory early?
Second: are malloc() and calloc() really awful in performance? I am not planning on using them much, only a few times every once in a while, but I don't want sudden frame time spikes.
Thank you for your time!
I have a quick couple of questions about the implementation of malloc() and calloc() and the heap in the C toolchain.
First: is the heap/BSS block guaranteed to be 60 KiB regardless of other user files on the system, or is there a chance of running out of memory early?
Second: are malloc() and calloc() really awful in performance? I am not planning on using them much, only a few times every once in a while, but I don't want sudden frame time spikes.
Thank you for your time!