aboutsummaryrefslogtreecommitdiff
path: root/cc/primitive_set.h
diff options
context:
space:
mode:
authorTink Team <tink-dev@google.com>2023-03-08 23:32:49 -0800
committerCopybara-Service <copybara-worker@google.com>2023-03-08 23:34:04 -0800
commita04509802367d3a28839a378cee40dc31cc920b0 (patch)
treec957b1d16519bc8e1dd09437069096ea6dd41a5f /cc/primitive_set.h
parent6ef41d08e128dcb6026e2bed9ac6d9df628316e2 (diff)
downloadtink-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.h2
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: