You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I start up a new jupyter session, xpersist is assumes that cache files are correct.
This is not necessarily the case and it's kinda a hassle to work around this assumption.
It would be useful to attempt to validate cache file contents.
Based on advice of @dcherian, if token is computed as
the values are consistent across invocations and are computed relatively efficiently.
If this is done, then a potential approach for cache validation is to add this token to the object being cached, as an attribute. Then treat an existing cache file as correct if the token stored in the cache file matches the token for object.
Does this make sense?
The text was updated successfully, but these errors were encountered:
When I start up a new jupyter session, xpersist is assumes that cache files are correct.
This is not necessarily the case and it's kinda a hassle to work around this assumption.
It would be useful to attempt to validate cache file contents.
Based on advice of @dcherian, if token is computed as
the values are consistent across invocations and are computed relatively efficiently.
If this is done, then a potential approach for cache validation is to add this token to the object being cached, as an attribute. Then treat an existing cache file as correct if the token stored in the cache file matches the token for object.
Does this make sense?
The text was updated successfully, but these errors were encountered: