JuliaParallel / Dagger.jl

A framework for out-of-core and parallel execution
Other
621 stars 67 forks source link

Eagerly free Thunk cached results when unneeded #464

Closed jpsamaroo closed 7 months ago

jpsamaroo commented 7 months ago

Builds off of https://github.com/JuliaData/MemPool.jl/pull/76 to allow the scheduler to eagerly free cache task results when unneeded (no further user handles to the task, and no more scheduler-internals downstream dependencies on the task). This simply speeds up the process of freeing memory that the GC will already end up freeing on the next cycle.