by felixguendling · 7y ago · 0 comments
Something like
memory_manager m(some_buffer);
allocation a = m.allocate(512);
would be nice. :-)[0] https://medium.com/iskakaushik/eli5-jemalloc-e9bd412abd70
https://android.googlesource.com/platform/external/qemu/+/em...
https://android.googlesource.com/platform/external/qemu/+/em...
These 3 files should be a fairly self contained, minimal way to allocate into existing buffers. No attempt is made at thread safety though (we assume the user synchronizes that themselves)