Closed devmotion closed 3 weeks ago
My take-away from https://github.com/JuliaLang/julia/issues/42899 is that we should use copy instead of deepcopy for RNGs. More generally, based on https://github.com/JuliaLang/julia/issues/42899#issuecomment-1058487002 we might also want to use copy for models and samplers (possibly requires defining copy in a few downstream packages).
copy
deepcopy
interesting, thanks David
My take-away from https://github.com/JuliaLang/julia/issues/42899 is that we should use
copy
instead ofdeepcopy
for RNGs. More generally, based on https://github.com/JuliaLang/julia/issues/42899#issuecomment-1058487002 we might also want to usecopy
for models and samplers (possibly requires definingcopy
in a few downstream packages).