I have a function that is called many times. After about 20 calls it seg faults on a new/malloc call to create a dynamic string -- i free this string before this function returns and the size of the ...
Given the limitations of the GBA, it's good to apply best practices of embedded design. This includes preventing unnecessary dynamic allocation (malloc). It's preferred to have more fine-grained ...
This malloc implementation represents a general purpose allocator. It should be space-concerving, portable, tunnable and relatively fast. While it's not the best at each characteristic I described ...