比较了std::map和boost::unordered_map; 后者性能略胜前者。准备使用dense_hash_map试试。简单的例子见http://www.cnblogs.com/dreamcs/articles/1782340.html官方的例子有#include <iostream>#include <google/dense_hash_map>using google::dense_hash_map; // namespace where class lives by defaultusing std::cout;using std::endl;using Read More
posted @ 2011-12-30 16:49
明将军
Views(5744)
Comments(1)
Diggs(0)

浙公网安备 33010602011771号