On 2020/06/01 9:23, Kamil Rytarowski wrote:
I wrote a tiny malloc (libc-style) implementation over a small static
storage (could be over stack or preallocated on the heap) without any
external dependencies.

Would it be useful for you?

At the moment, we need buffers only in db_show_callout(), and static
buffers are enough there, IMO.

However, in future, if we want to add new features that require dynamic
buffer allocation, we need to implement exclusive allocator for DDB.

Thanks,
rin

Reply via email to