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

Consider adding generic cell-owner and cell types, to handle alternative key-management approaches #18

Open
uazu opened this issue Aug 19, 2021 · 0 comments
Labels
enhancement New feature or request someday-maybe

Comments

@uazu
Copy link
Owner

uazu commented Aug 19, 2021

If someone wants to do their own key management (e.g. u64 key, panic on exhaustion instead of free list, etc), then have some types that they can plug their own 'key' type into, and that does the cell borrowing handling for them. These would typically be wrapped in type aliases to make them more ergonomic.

It might be necessary to have two sets of these, for each of TLCell-like and TCell-like, i.e. with or without Sync access to the cells.

@uazu uazu added the enhancement New feature or request label Aug 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request someday-maybe
Projects
None yet
Development

No branches or pull requests

1 participant