On 01.06.2020 02:31, Rin Okuyama wrote: > 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 If you can find a use-case today in DDB for an exclusive allocator. I have it ready and tested. I intended to use it in ddb for one project, but that project is still unfinished.
Attachment:
signature.asc
Description: OpenPGP digital signature