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
A function may mark an argument to be ignored by @cache. The function is then responsible for making sure the value of that argument doesn't affect the validity of the cached result. This is useful for substitute, where we don't want to cache the dict of substitution rules. Instead, substitute uses a cached worker function and clears the cache every call. We could also have a flag if the user knows they're calling substitute with the same ruleset multiple times, to avoid clearing the cache.