Skip to content

Draft algorithms for caching a (sub-)graph #11

@zolkis

Description

@zolkis

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions