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
To help clarify the discussion about caching details, scope and reach, draft algorithms that could be used for cache read/write.
During compilation, given a graph:
[algorithm:] check if graph is available/can be used from the cache
- compute hash from graph
- let cached be the result of retrieving hash from the cache
- if that fails, fail
- otherwise return cached.
otherwise,
[algorithm:] if caching is allowed,
[steps]
[algorithm:] insert graph into the cache
- let hash be the result of computing hash from graph
- return hash
(These are just placeholders, feel free to expand / change.)
The text was updated successfully, but these errors were encountered:
To help clarify the discussion about caching details, scope and reach, draft algorithms that could be used for cache read/write.
During compilation, given a
graph
:[algorithm:] check if
graph
is available/can be used from the cache- compute
hash
fromgraph
- let
cached
be the result of retrievinghash
from the cache- if that fails, fail
- otherwise return
cached
.otherwise,
[algorithm:] if caching is allowed,
[steps]
[algorithm:] insert
graph
into the cache- let
hash
be the result of computing hash fromgraph
- return
hash
(These are just placeholders, feel free to expand / change.)
The text was updated successfully, but these errors were encountered: