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

syncs: add Map #6260

Merged
merged 1 commit into from Nov 10, 2022
Merged

syncs: add Map #6260

merged 1 commit into from Nov 10, 2022

Commits on Nov 10, 2022

  1. syncs: add Map

    Map is a concurrent safe map that is a trivial wrapper
    over a Go map and a sync.RWMutex.
    
    It is optimized for use-cases where the entries change often,
    which is the opposite use-case of what sync.Map is optimized for.
    
    The API is patterned off of sync.Map, but made generic.
    
    Signed-off-by: Joe Tsai <joetsai@digital-static.net>
    dsnet committed Nov 10, 2022
    Configuration menu
    Copy the full SHA
    09adefb View commit details
    Browse the repository at this point in the history