produce_or_load
doesn't recognize change in the function producing the data.
#418
Labels
produce_or_load
doesn't recognize change in the function producing the data.
#418
Given how
produce_or_load
works, because it deduces the name solely on theconfig
argument, it doesn't care about the functionf
. This means, that if I produce some data, then changef
, then the data will be loaded instead of re-produced.This is not good, and we should probably change it. Question is, how? If the file is saved as
.jld2
, then we can add an internal field like_drwatson_f_hash
that stores a "hash" of the function.Now, how do you create a "hash" out of a function, in a way that makes sense?
The text was updated successfully, but these errors were encountered: