summaryrefslogtreecommitdiff
path: root/absl
diff options
context:
space:
mode:
authorGravatar Abseil Team <absl-team@google.com>2024-03-04 10:58:44 -0800
committerGravatar Copybara-Service <copybara-worker@google.com>2024-03-04 10:59:58 -0800
commit59daf188bcced05bbac02d71894e5ba4021597a6 (patch)
tree1f4efcfaf32668a38ebb448466bb056528a0eefe /absl
parent7bd9ff910d489658da58251de1317eb3f790a2c6 (diff)
Increase GraphCycles::PointerMap size
PiperOrigin-RevId: 612509928 Change-Id: I90de2e6bd229bf5cf71a27e9c491bc2794e9265f
Diffstat (limited to 'absl')
-rw-r--r--absl/synchronization/internal/graphcycles.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/synchronization/internal/graphcycles.cc b/absl/synchronization/internal/graphcycles.cc
index 39b18482..61b4ec05 100644
--- a/absl/synchronization/internal/graphcycles.cc
+++ b/absl/synchronization/internal/graphcycles.cc
@@ -333,7 +333,7 @@ class PointerMap {
private:
// Number of buckets in hash table for pointer lookups.
- static constexpr uint32_t kHashTableSize = 8171; // should be prime
+ static constexpr uint32_t kHashTableSize = 262139; // should be prime
const Vec<Node*>* nodes_;
std::array<int32_t, kHashTableSize> table_;