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 parking_lot for synchronization #47

Closed
loafofpiecrust opened this issue Dec 18, 2021 · 1 comment · Fixed by #52
Closed

Use parking_lot for synchronization #47

loafofpiecrust opened this issue Dec 18, 2021 · 1 comment · Fixed by #52
Milestone

Comments

@loafofpiecrust
Copy link

I use parking_lot for synchronization primitives and it's fantastic compared to std: faster, smaller, and locks don't poison (so you don't need .unwrap() or .expect() on lock functions). I suspect this would bring performance closer to tokio, especially since I think they'll beat tokio's async RwLock since you don't need to use it across an await boundary.

@austinjones austinjones linked a pull request Apr 13, 2022 that will close this issue
@austinjones austinjones added this to the 0.5.0 milestone Apr 13, 2022
@austinjones
Copy link
Owner

Thanks for the idea! I've implemented it and it will be going out in v0.5.0 soon.

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 a pull request may close this issue.

2 participants