diff options
author | Evan Brown <ezb@google.com> | 2024-03-27 11:33:27 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2024-03-27 11:34:21 -0700 |
commit | ff0a0f2d5428e8cc6a79cb9000d9cd3f9a0a67b5 (patch) | |
tree | 70e222f3bd81a0fad40860dc0f074fb85ba52042 /absl/container/internal | |
parent | 18018aa45dd40b123d0c86224bbcc26fa3269d73 (diff) | |
download | abseil-ff0a0f2d5428e8cc6a79cb9000d9cd3f9a0a67b5.tar.gz abseil-ff0a0f2d5428e8cc6a79cb9000d9cd3f9a0a67b5.tar.bz2 abseil-ff0a0f2d5428e8cc6a79cb9000d9cd3f9a0a67b5.zip |
Disable small object optimization while debugging some failing tests.
PiperOrigin-RevId: 619598530
Change-Id: Ie4b808a3b826db8c271c81914c7a88d2c6216eb2
Diffstat (limited to 'absl/container/internal')
-rw-r--r-- | absl/container/internal/hash_policy_traits.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/container/internal/hash_policy_traits.h b/absl/container/internal/hash_policy_traits.h index ad835d6f..ec08794a 100644 --- a/absl/container/internal/hash_policy_traits.h +++ b/absl/container/internal/hash_policy_traits.h @@ -168,7 +168,7 @@ struct hash_policy_traits : common_policy_traits<Policy> { #endif } - // Whether small object optimization is enabled. True by default. + // Whether small object optimization is enabled. False by default. static constexpr bool soo_enabled() { return soo_enabled_impl(Rank1{}); } private: @@ -197,7 +197,7 @@ struct hash_policy_traits : common_policy_traits<Policy> { return P::soo_enabled(); } - static constexpr bool soo_enabled_impl(Rank0) { return true; } + static constexpr bool soo_enabled_impl(Rank0) { return false; } }; } // namespace container_internal |