diff options
author | Tink Team <tink-dev@google.com> | 2023-03-08 23:32:49 -0800 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-03-08 23:34:04 -0800 |
commit | a04509802367d3a28839a378cee40dc31cc920b0 (patch) | |
tree | c957b1d16519bc8e1dd09437069096ea6dd41a5f /cc/primitive_set.h | |
parent | 6ef41d08e128dcb6026e2bed9ac6d9df628316e2 (diff) | |
download | tink-a04509802367d3a28839a378cee40dc31cc920b0.tar.gz |
Change std::unordered_map to more performant absl::flat_hash_map.
PiperOrigin-RevId: 515248626
Diffstat (limited to 'cc/primitive_set.h')
-rw-r--r-- | cc/primitive_set.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/primitive_set.h b/cc/primitive_set.h index a62a962ad..1fc4728ff 100644 --- a/cc/primitive_set.h +++ b/cc/primitive_set.h @@ -117,7 +117,7 @@ class PrimitiveSet { }; typedef std::vector<std::unique_ptr<Entry<P>>> Primitives; - typedef std::unordered_map<std::string, Primitives> + typedef absl::flat_hash_map<std::string, Primitives> CiphertextPrefixToPrimitivesMap; private: |