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

Possiblity of using Arc for layout cache #30

Open
wezm opened this issue Sep 8, 2020 · 1 comment
Open

Possiblity of using Arc for layout cache #30

wezm opened this issue Sep 8, 2020 · 1 comment

Comments

@wezm
Copy link
Contributor

wezm commented Sep 8, 2020

Via a Reddit comment

new_layout_cache returns an Rc object. In some cases an Arc may be preferred (for storage within lazy_static): can this be an option?

@wezm
Copy link
Contributor Author

wezm commented Jan 3, 2023

It's possible that newly stabilised GATs would allow the code to be generic over Rc/Arc.

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

No branches or pull requests

1 participant