12 2011 档案
摘要:比较了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
阅读全文