-
Notifications
You must be signed in to change notification settings - Fork 146
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
Introduce an interface RWLock to implement lock free in production mode #94
Conversation
I think Rlocks are really very fast to take out especially if there isn't ever a write lock. It would be good to benchmark this to prove that it does make a difference. |
So running the benchmarks it looks like surprisingly this is slower. But I think it's all within the bounds of error.
|
When I test with 5s, another suprsing result.
|
I get:
The small differences are probably because the |
Can you merge master into this PR? |
Did you mean branch |
Thanks for the PR! |
Improvement after #90 #92