-
Notifications
You must be signed in to change notification settings - Fork 627
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
vm: AnyCache
#10825
Commits on Mar 18, 2024
-
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.)
Configuration menu - View commit details
-
Copy full SHA for af9eccf - Browse repository at this point
Copy the full SHA af9eccfView commit details -
Add a concept of a no-op contract runtime cache
Simplifies the code quite a bit.
Configuration menu - View commit details
-
Copy full SHA for 8e77066 - Browse repository at this point
Copy the full SHA 8e77066View commit details -
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.
Configuration menu - View commit details
-
Copy full SHA for 5bba1c5 - Browse repository at this point
Copy the full SHA 5bba1c5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 29cecee - Browse repository at this point
Copy the full SHA 29ceceeView commit details
Commits on Mar 19, 2024
-
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
Configuration menu - View commit details
-
Copy full SHA for b0719ca - Browse repository at this point
Copy the full SHA b0719caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bb2f6d - Browse repository at this point
Copy the full SHA 2bb2f6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 83b7b7c - Browse repository at this point
Copy the full SHA 83b7b7cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d211e48 - Browse repository at this point
Copy the full SHA d211e48View commit details -
Configuration menu - View commit details
-
Copy full SHA for adb7000 - Browse repository at this point
Copy the full SHA adb7000View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.