Add std::fill
and std::fill_n
benchmarks by barcharcraz · Pull Request #5400 · microsoft/STL (original) (raw)
I don't really like pulling the allocators out into a template parameter, as I don't think it's worth multiplying the test matrix for them (although having some benchmarks use one and some the other probably was bad).
If there's little difference in performance between allocators, I'd just use the worse one (not_highly_aligned_allocator
), to make AVX2 or AVX-512 vectorization, if they exist here, of less advantage.