摘要:
几句话道出map和hash_map的区别1. STL map is an associative array where keys are stored in sorted order using balanced trees. While hash_map is a hashed associated container, where keys are not stored in an ordered way. Key, value pair is stored using a hashed function. 2. Insertion and lookup takes Ologn time 阅读全文
posted @ 2011-11-20 19:54 MDeath-Kid 阅读(274) 评论(0) 推荐(0) 编辑