-
Notifications
You must be signed in to change notification settings - Fork 544
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
Golang 1.9 and concurrent map #60
Comments
@matcornic thanks for the feedback, we're glad that you found this useful! As for the 1.9 sync.Map - it has a few key differences from this map. The stdlib sync.Map is designed for append-only scenarios. So if you want to use the map for something more like in-memory db, you might benefit from using our version. You can read more about it in the golang repo, for example here: golang/go#21035 (comment) and here: https://stackoverflow.com/questions/11063473/map-with-concurrent-access |
@orcaman thanks for your quick answer ! Your explanation makes sense. So, in my opinion, differences between your package and standard library are worth explaining in the README. |
Good point. I will update the README.md |
Merged as per our discussion. Thanks! |
Hello,
Thanks for this package that has been useful for years.
Golang 1.9
now provides a concurrent map in standard library. Consider mentioning it on theREADME
for those using latest version of Golang.Though, the package is still very useful for older versions :)
The text was updated successfully, but these errors were encountered: