pavel-kirienko / o1heap

Constant-complexity deterministic memory allocator (heap) for hard real-time high-integrity embedded systems. There is very little activity because the project is finished and does not require further changes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add o1HeapReallocate

thirtytwobits opened this issue · comments

supporting realloc would be particularly powerful when an allocation's fragment size was much larger then the requested allocation. Subsequent reallocs would incur no memory movement costs where the new size remained within the size of the fragment.

Note that CETL::PMR support realloc which is an extension to the C++ standard that does not utilize this method.