Releases: JuliaFolds2/OhMyThreads.jl
Releases · JuliaFolds2/OhMyThreads.jl
v0.8.3
OhMyThreads v0.8.3
The overhead of
tmapreduce
in the serial case was reduced a bit. Sentinel values in scheduler kwarg internals were replaced bynothing
#148
Merged pull requests:
- Small optimizations on Scheduler creation (#148) (@arnaud-ma)
v0.8.2
OhMyThreads v0.8.2
Added a
minchunksize
chunking argument for schedulers, so that they can specify a lower bound on the size of chunks which are worth parallelizing. For example,treduce(+, 1:10; minchunksize=100)
will run serially, buttreduce(+, 1:1000000; minchunksize=100)
will be parallelized #145.Operations on collections with only one 'chunk' no longer spawn an unnecessary task. That means operations like
treduce(+, 1:10; minchunksize=100)
will have less overhead #145.
Merged pull requests:
- Various CI fixes (#143) (@christiangnrd)
- Support
minsize
setting; don't spawn tasks when only 1 chunk (#145) (@MasonProtter)
Closed issues:
- Support
minchunksize
(#114)
v0.8.1
OhMyThreads v0.8.1
Version 0.8.1
Added a
@localize
macro which turns@localize x y expr
intolet x=x, y=y; expr end
(#142)The error messafe for captured variables now has a longer error hint that displays when the
Markdown
package is loaded (e.g. in the REPL.) (#142)
Merged pull requests:
- Try to improve UX with the variable boxing errors (#142) (@MasonProtter)
v0.8.0
OhMyThreads v0.8.0
Version 0.8.0
We now detect and throw errors if an
OhMyThreads
parallel function is passed a closure containing aBox
ed variable. This behaviour can be disabled with the new@allow_boxed_captures
macro, and re-enabled with@disallow_boxed_captures
. (#141)Schedulder chunking info is no longer directly available via
getproperty
. This was never a public interface, but it's possible some users relied upon it #135.
Merged pull requests:
- Bump codecov/codecov-action from 4 to 5 (#130) (@dependabot[bot])
- modify #84 for compatibility with julia >= 1.11 (#134) (@arnaud-ma)
- rewrite schedulers (#135) (@arnaud-ma)
- Revamp section describing how to fix
1:nthreads()
pattern (#137) (@MasonProtter) - Detect and throw an error when multithreading with
Box
ed variables (#141) (@MasonProtter)
Closed issues:
v0.7.0
OhMyThreads v0.7.0
Merged pull requests:
- Prepare for ChunkSplitters 3.0 (#119) (@carstenbauer)
- Add concurrency safe iterator wrapper ChannelLike (#121) (@fredrikekre)
- Fix GreedyScheduler with ntasks and chunksize, closes #120 (#122) (@fredrikekre)
- Fix some docstring typos (
schedule
->scheduler
) (#123) (@rossviljoen)
Closed issues:
- GreedyScheduler with
ntasks
andchunksize
given errors (#120)
v0.6.2
v0.6.1
v0.6.0
v0.5.3
OhMyThreads v0.5.3
Merged pull requests:
- Fix #107 (#108) (@carstenbauer)
- Bump julia-actions/cache from 1 to 2 (#109) (@dependabot[bot])
Closed issues:
v0.5.2
OhMyThreads v0.5.2
Merged pull requests:
- Handle empty input (#104) (@carstenbauer)
Closed issues:
- Empty collections in
tmap
(#87)