help?> Future
search: Future
The Future module implements future behavior of already existing functions, which will replace the current version in a future release of Julia.
[When?! And this is a rather cryptic sentence; to newbies.]
help?> Future.randjump
randjump(r::MersenneTwister, steps::Integer) -> MersenneTwister
Create an initialized MersenneTwister object, whose state is moved forward (without generating numbers) from r by steps steps. One such step corresponds to the generation of two Float64
numbers. For each different value of steps, a large polynomial has to be generated internally. One is already pre-computed for steps=big(10)^20.
I’m not sure randjump is missing, for current rand, or just not needed for it, since only implemented to MersenneTwister. I though it legacy, so was surprised to see PR updating it now. And it led me to the Future. Not to be confused with Distributed.Future:
julia> using Distributed
WARNING: using Distributed.Future in module Main conflicts with an existing identifier.
help?> Future.copy!
Future.copy!(dst, src) -> dst
Copy src into dst.
│ Julia 1.1
│
│ This function has moved to Base with Julia 1.1, consider using copy!(dst, src) instead. Future.copy! will be deprecated in the future.
I believe the only two Future methods.
Some packages are using Future.copy! for real, DataFrames.jl is using it but not really. Maybe most “users” aren’t really using either only referencing like this one:
I only find this PR (don’t what do track down when first added):
Is Future from pre-1.0 Julia (that that PR later, just don’t want to track it dfown), meant for something like Python’s from future import?