1. The current version of the library contains a profound design flaw - it allocates memory.
What do you mean by that?, or could you elaborate how will you design it to not allocate any heap memory?
What do you mean by that?, or could you elaborate how will you design it to not allocate any heap memory?
The next release performs no memory allocation; all allocation is performed by the user and passed into the function calls as pointers to those allocations.
Users can still of course perform run-time allocations if they wish, but now they can also fully pre-allocate, in ways which are memory access friendly given the work being performed by their software.