Closed
Description
https://github.com/niklasf/shakmaty/blob/master/benches/benches.rs are showing a major performance regression going from arravec 0.6.0 to 0.6.1. For example:
bench_shallow_perft
Instructions: 31844284 (+153.8268%)
L1 Accesses: 54897187 (+233.5472%)
L2 Accesses: 315 (+47.19626%)
RAM Accesses: 472 (+8.505747%)
Estimated Cycles: 54915282 (+233.3271%)
I bisected it to 5ad4687 as the first bad commit.
The benchmarks are mostly using ArrayVec::{new,push,retain}()
. So far I did not manage to reduce it further.