今天发现 (dict.find(handle_str) != dict.end()) 比 (dict.count(stmp) > 0) 效率要高不少,不到一倍。 而且unordered_set的 “=”用的是拷贝。。 才知道。