Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vm: AnyCache #10825

Merged
merged 9 commits into from
Mar 20, 2024
Merged

vm: AnyCache #10825

merged 9 commits into from
Mar 20, 2024

Commits on Mar 18, 2024

  1. contract runtime: readd a concept of an in-memory cache

    This cache is more general than the previous cache and also better
    abstracted in that it allows storing anything into it, and permits
    configuration of it from outside the contract runtime.
    
    Also no global statics (other than for the empty cache sentinel.)
    nagisa committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    af9eccf View commit details
    Browse the repository at this point in the history
  2. Add a concept of a no-op contract runtime cache

    Simplifies the code quite a bit.
    nagisa committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    8e77066 View commit details
    Browse the repository at this point in the history
  3. Try accessing the in-memory cache.

    The blast radius... Thank dog I decided against upgrading lru for the
    entire workspace or I'd be sitting doing just that till deep winter.
    nagisa committed Mar 18, 2024
    Configuration menu
    Copy the full SHA
    5bba1c5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    29cecee View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2024

  1. vm: make an attempt to drop the Artifact: Sync requirement

    Alas this didn't pan out quite yet -- instantiation still requires an
    `Arc<Artifact>` and removing that requirement is not the right time
    right now
    nagisa committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    b0719ca View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2bb2f6d View commit details
    Browse the repository at this point in the history
  3. vm: tests for AnyCache

    nagisa committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    83b7b7c View commit details
    Browse the repository at this point in the history
  4. nit: move cov-mark to dev-deps

    nagisa committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    d211e48 View commit details
    Browse the repository at this point in the history
  5. address reviews

    nagisa committed Mar 19, 2024
    Configuration menu
    Copy the full SHA
    adb7000 View commit details
    Browse the repository at this point in the history