Commit 9645a2fb by Abseil Team Committed by Copybara-Service

Remove redundant check of is_soo() while prefetching heap blocks.

PiperOrigin-RevId: 640208455
Change-Id: I4c2b7d3f1adad2078e8a5f805574f71c4d7743d4
parent 4953bbcd
......@@ -3887,7 +3887,7 @@ class raw_hash_set {
// cache misses. This is intended to overlap with execution of calculating the
// hash for a key.
void prefetch_heap_block() const {
if (is_soo()) return;
assert(!is_soo());
#if ABSL_HAVE_BUILTIN(__builtin_prefetch) || defined(__GNUC__)
__builtin_prefetch(control(), 0, 1);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment