diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2021-12-17 16:56:43 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-12-17 16:56:43 -0700 |
| commit | 6d04de706ac0fcb20e1468ed6ac7a88deb7e1744 (patch) | |
| tree | 3602471fe2456649c8f163f466fb4d01eb8ca435 /lib/std/Thread/Mutex.zig | |
| parent | 11803a3a569205d640c7ec0b0aedba83f47a6e64 (diff) | |
| download | zig-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
