top | item 41593401 (no title) val_deleplace | 1 year ago I tested with many concurrent goroutines, and confirmed that calling `unique.Make` does not cause any data race condition discuss order hn newest saylisteins|1 year ago Thanks a lot! I also found this blog post where they mention it's thread safe thanks to using HashTrieMap internallyLink: https://go.dev/blog/unique val_deleplace|1 year ago We agreed to make the threadsafeness more explicit in the documentation of the 'unique' package: https://github.com/golang/go/issues/69637
saylisteins|1 year ago Thanks a lot! I also found this blog post where they mention it's thread safe thanks to using HashTrieMap internallyLink: https://go.dev/blog/unique val_deleplace|1 year ago We agreed to make the threadsafeness more explicit in the documentation of the 'unique' package: https://github.com/golang/go/issues/69637
val_deleplace|1 year ago We agreed to make the threadsafeness more explicit in the documentation of the 'unique' package: https://github.com/golang/go/issues/69637
saylisteins|1 year ago
Link: https://go.dev/blog/unique
val_deleplace|1 year ago