3 ms·
I have a best-fit allocator for this problem (managing GPU resources). It has higher CPU overhead due to using a std::map, but should waste less space due to no
by Ono-Sendai 2y ago
I have a best-fit allocator for this problem (managing GPU resources).
It has higher CPU overhead due to using a std::map, but should waste less space due to not using fixed bucket sizes.
https://github.com/glaretechnologies/glare-core/blob/master/utils/BestFitAllocator.cpp https://github.com/glaretechnologies/glare-core/blob/master/...
https://github.com/glaretechnologies/glare-core/blob/master/utils/BestFitAllocator.h https://github.com/glaretechnologies/glare-core/blob/master/...