I'm curious which container is the best choice to store resource data [in (data_name, pointer开发者_如何学Go)-form ] to use it for a game. Fast search speed is needed.
A HashMap of type String/Pointer?
Should be a good choice at least for C++ or Java.
I'm curious which container is the best choice to store resource data [in (data_name, pointer开发者_如何学Go)-form ] to use it for a game. Fast search speed is needed.
A HashMap of type String/Pointer?
Should be a good choice at least for C++ or Java.
精彩评论