Using `std::unordered_map` will be faster.