aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread/Mutex.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-12-17 16:56:43 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-12-17 16:56:43 -0700
commit6d04de706ac0fcb20e1468ed6ac7a88deb7e1744 (patch)
tree3602471fe2456649c8f163f466fb4d01eb8ca435 /lib/std/Thread/Mutex.zig
parent11803a3a569205d640c7ec0b0aedba83f47a6e64 (diff)
downloadzig-6d04de706ac0fcb20e1468ed6ac7a88deb7e1744.tar.gz
zig-6d04de706ac0fcb20e1468ed6ac7a88deb7e1744.zip
Revert "std: optimize hash_map probe loop condition"
This reverts commit 11803a3a569205d640c7ec0b0aedba83f47a6e64. Observations from the performance dashboard: * strictly worse in terms of CPU instructions * slightly worse wall time (but this can be noisy) * sometimes better, sometimes worse for branch predictions Given that the commit was introducing complexity for optimization's sake, these performance changes do not seem worth it.
Diffstat (limited to 'lib/std/Thread/Mutex.zig')
0 files changed, 0 insertions, 0 deletions