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

Use RAM.reusable() as default storage to support reopening cores #102

Merged

Conversation

lejeunerenard
Copy link
Contributor

Some libraries (such as autobase) will close their cores assuming they persist. To support this while the program is still running, random-access-memory supports RAM.reusable() which returns a reusable version of the RAM storage.

Some libraries (such as `autobase`) will close their cores assuming they
persist. To support this while the program is still running,
`random-access-memory` supports `RAM.reusable()` which returns a
reusable version of the RAM storage.
Copy link
Owner

@RangerMauve RangerMauve left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool, thanks for the feature. Is there a specific project you're using this functionality with?

@RangerMauve RangerMauve merged commit 67d54f7 into RangerMauve:master Apr 8, 2024
3 checks passed
@RangerMauve
Copy link
Owner

Out in 5.0.0. This is potentially a breaking change so you'll need a major version update to get it.

@lejeunerenard
Copy link
Contributor Author

I'm not using it myself, but noticed it when helping someone, who was using hyper-sdk, debug an issue. Thank you for following up and letting me know about the breaking changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants