JuliaFolds / Transducers.jl

Efficient transducers for Julia
https://juliafolds.github.io/Transducers.jl/dev/
MIT License
432 stars 24 forks source link

Use `foldl_basecase` in threaded reduce #513

Closed tkf closed 2 years ago

tkf commented 2 years ago

Fix a bug introduced in #511 for the protocol introduced in #509.

codecov[bot] commented 2 years ago

Codecov Report

Merging #513 (e560919) into master (edbfb7c) will increase coverage by 0.17%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #513      +/-   ##
==========================================
+ Coverage   93.30%   93.48%   +0.17%     
==========================================
  Files          32       32              
  Lines        2224     2224              
==========================================
+ Hits         2075     2079       +4     
+ Misses        149      145       -4     
Flag Coverage Δ
Pkg.test 89.65% <33.33%> (+0.18%) :arrow_up:
Run.test 93.30% <100.00%> (+0.13%) :arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/threading_utils.jl 100.00% <ø> (ø)
src/nondeterministic_threading.jl 89.79% <100.00%> (+1.02%) :arrow_up:
src/reduce.jl 82.14% <100.00%> (ø)
src/core.jl 90.69% <0.00%> (+1.39%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update edbfb7c...e560919. Read the comment docs.