Releases: TuringLang/Libtask.jl
Releases · TuringLang/Libtask.jl
v0.9.6
v0.9.5
Libtask v0.9.5
Added a new Libtask.@might_produce macro, which generates a superset of the Libtask.might_produce methods needed for a function f that might contain a call to Libtask.produce. For example, for a function
function f(x::Int, y::Int)
produce(x + y)
endinstead of writing
Libtask.might_produce(::Type{<:Tuple{typeof(f),Int,Int}}) = trueyou can just write
Libtask.@might_produce(f)The main benefit of this is that it applies to functions with multiple methods and keyword arguments. The drawback is performance: marking all methods of f as produceable may lead to performance degradation if there are some methods of f which do not need to be thus marked. In such cases, you should use the might_produce function directly.
Merged pull requests:
- Add
@might_producemacro (#198) (@penelopeysm)
v0.9.4
Libtask v0.9.4
Merged pull requests:
v0.9.3
v0.9.2
v0.9.1
Libtask v0.9.1
Merged pull requests:
v0.9.0
v0.8.8
Libtask v0.8.8
Merged pull requests:
- Forward RNG argument in benchmark (#173) (@FredericWantiez)
- static_parameter expr (#175) (@KDr2)
Closed issues:
v0.8.7
Libtask v0.8.7
Merged pull requests:
- Prototype implementation of recursion (#164) (@willtebbutt)
- Remove redundant code (#168) (@willtebbutt)
- Adjust to JuliaLang/julia#50943 (#169) (@topolarity)
Closed issues:
- Redundant Code? (#166)