|
|
|
|
|
by ltbarcly3
910 days ago
|
|
That only works for things entirely encapsulated by the value of the cell, which isn't a useful amount of stuff. This will only help with primative toy examples where you are slinging numpy arrays or other easily hashed data with no encapsulation or indetermancy or order independence. Sorry, if it were possible to just generically cache computations it would be done everywhere for everything. This is just going to help with toy examples. The only way this leads to "better reproducability" is if it fails to recompute things that it should have recomputed. If the computation was actually deterministic from its inputs the best and literally the only possible thing this can do is exactly what recomputing it would do, but faster. Frankly that you said it is more reproducible is enough evidence for me that you are doing something fundementally broken. |
|