tkf / ThreadsX.jl

Parallelized Base functions
MIT License
321 stars 10 forks source link

Map with purely sequential iterators #161

Closed tkf closed 4 years ago

tkf commented 4 years ago

Sometimes halve is not implementable or you'd want to use a multi-threaded map with an arbitrary iterator. It'd be useful to support this.

ref https://discourse.julialang.org/t/multithreaded-mapping-of-an-iterator-not-a-collection/47906/6

tkf commented 4 years ago

ref https://github.com/JuliaFolds/Transducers.jl/issues/301#issuecomment-640117418