]> Cypherpunks repositories - gostls13.git/commit
internal/sync: make the HashTrieMap zero value ready to use
authorMichael Anthony Knyszek <mknyszek@google.com>
Fri, 21 Jun 2024 20:23:13 +0000 (20:23 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 18 Nov 2024 20:30:24 +0000 (20:30 +0000)
commite8c5e6d63527da969d7bde308bda922e85db2432
tree1382c95d4d8520c53349f045084371c05c388c34
parent008904aba6b28ea8b9bbb0f5a90987bd3a8a8772
internal/sync: make the HashTrieMap zero value ready to use

This improves ergonomics a little and aligns the HashTrieMap with
sync.Map.

Change-Id: Idb2b981a4f59a35f8670c6b5038e2bd207484483
Reviewed-on: https://go-review.googlesource.com/c/go/+/594062
Reviewed-by: David Chase <drchase@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Michael Knyszek <mknyszek@google.com>
src/internal/sync/export_test.go
src/internal/sync/hashtriemap.go
src/internal/sync/hashtriemap_bench_test.go
src/internal/sync/hashtriemap_test.go
src/unique/handle.go