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

refactor: safe API for Eviction and State access #789

Open
MrCroxx opened this issue Nov 19, 2024 · 0 comments
Open

refactor: safe API for Eviction and State access #789

MrCroxx opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
Milestone

Comments

@MrCroxx
Copy link
Collaborator

MrCroxx commented Nov 19, 2024

Currently, Eviction provides safe Rust APIs for developers to implement their own algorithms.

However, to access per-entry state, it still needs to use unsafe Rust API to dereference UnsafeCell. Let remove the unsafe access!

@MrCroxx MrCroxx added this to the v0.13 milestone Nov 19, 2024
@MrCroxx MrCroxx self-assigned this Nov 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

1 participant