Reduce heap fragmentation when using bin_data
We could use a smarter allocator from PMR in order to reduce fragmentation when allocating often bin_data
.
Rationale: This arises from buffer management in libspookyaction. However, instead of reusing bin_data
objects, a better solution to prevent fragmentation would be to use a smarter PMR allocator in bin_data
itself, which would give us immediately all the advantages at no further code complexity (see e.g. this branch, how it becomes much more complex to manage).