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
Sometimes it's easy to infer the data stored in a cache from its name alone. Other times, though, it's cumbersome and inconvenient to give a cache a name that's sufficient to unambiguously convey what it contains. The tradeoff between variable name length and information content becomes an impossible optimization problem.
It'd be cool if, at the time of cache creation (say, as an additional argument to simpleCache), we could make it possible to provide a more thorough description of what the cache contains. This could be stored as a small text file parallel to the cache. Then we could have a function like describeCache that would read the text file associated with the indicated cache and provide the description. This could be extended to a cache folder/subfolder if a text file is present for the folder and/or paired with listCaches.
The text was updated successfully, but these errors were encountered:
Sometimes it's easy to infer the data stored in a cache from its name alone. Other times, though, it's cumbersome and inconvenient to give a cache a name that's sufficient to unambiguously convey what it contains. The tradeoff between variable name length and information content becomes an impossible optimization problem.
It'd be cool if, at the time of cache creation (say, as an additional argument to
simpleCache
), we could make it possible to provide a more thorough description of what the cache contains. This could be stored as a small text file parallel to the cache. Then we could have a function likedescribeCache
that would read the text file associated with the indicated cache and provide the description. This could be extended to a cache folder/subfolder if a text file is present for the folder and/or paired withlistCaches
.The text was updated successfully, but these errors were encountered: