How can I pre-allocate memory for objects and reuse that memory, instead
of doing new/dealloc.
I am trying to implement the "no memory allocation after initialization"
paradigm
here for performance and safety reasons. I can do this in C (for structs /
raw memory blocks), but I don't know how to implement it for Objective-C
objects.
Again, I could only find NextStep/Apple specific stuff on the web. How to
do
this in GNU Objective-C (without GNUSTEP)?
Do Objective-C objects even have a constant size? Is is possible to just
do something like object = malloc(sizeof(Object))?