Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
specialize on mapfoldl(::Type, ...) (#39019)
Before: ```julia julia> using BenchmarkTools julia> b = rand(Bool, 10000); julia> @Btime mapfoldl(Int, +, b; init=0) 1.136 ms (9025 allocations: 141.02 KiB) 5057 ``` After: ```julia julia> @Btime mapfoldl(Int, +, b; init=0) 1.094 μs (1 allocation: 16 bytes) 5057 ```
- Loading branch information