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

perf(slice): make the IndexOf function thread-safe (#262) #263

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

cannian1
Copy link
Collaborator

@cannian1 cannian1 commented Nov 5, 2024

Under this benchmark, sync.RWMutex performs better in terms of both performance and stability compared to sync.Map.

@duke-git
Copy link
Owner

duke-git commented Nov 6, 2024

Under this benchmark, sync.RWMutex performs better in terms of both performance and stability compared to sync.Map.

cool, 👍

@duke-git duke-git merged commit a7fecfc into duke-git:rc Nov 6, 2024
1 check passed
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