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

replace dashmap #8

Closed
wants to merge 1 commit into from
Closed

replace dashmap #8

wants to merge 1 commit into from

Conversation

fikersd
Copy link

@fikersd fikersd commented Nov 17, 2023

No description provided.

@TheWaWaR
Copy link
Contributor

TheWaWaR commented Nov 17, 2023

What's the benefit of replacing DashMap with RwLock<HashMap>>? Since it's is easy to use, I can't see reason to replace it.

And, DashMap is more performant than RwLock<HashMap>> in those scenarios, since DashMap can lock only partial of the map.

@fikersd
Copy link
Author

fikersd commented Nov 23, 2023

more than one hashmap

@fikersd fikersd closed this Nov 23, 2023
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