I need to use a map
, with keys as uint32_t
and values as Meshes
. I want the meshes to be layed out in contigous memory for performance, as they will be accessed very often in succession.
I am wondering what memory-allocator libraries are available that provides the following aswell;
I've looked at boost, but it dosn't seem to provide what I'm looking for.
(Reason I'm not using vector
is that the container will grow and shrink alot, and I prefer to have a uint32_t
as the identifier for a mesh
)
Thanks
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.