Relative Content

Tag Archive for memory

How many `malloc` calls is too many? If any?

I’m implementing a system in C, implemented partially as a library. The library does most of the memory management itself, with the application layer just having to call *_destroy functions on the top-level objects.