Hacker News new | past | comments | ask | show | jobs | submit login

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/... https://github.com/glaretechnologies/glare-core/blob/master/...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: