]> Cypherpunks repositories - gostls13.git/commit
internal/runtime/maps: use matchEmptyOrDeleted instead of matchEmpty
authorkhr@golang.org <khr@golang.org>
Thu, 31 Oct 2024 17:10:08 +0000 (10:10 -0700)
committerKeith Randall <khr@golang.org>
Fri, 1 Nov 2024 20:10:31 +0000 (20:10 +0000)
commit378c48e6c7c9f62c80b4d627302fda978ece2a1d
tree750ac36f68fdfd8bfee9b2d22172c8f488e18e82
parent900578d09c42eef2fa5139246794ac6f3aff2e0a
internal/runtime/maps: use matchEmptyOrDeleted instead of matchEmpty

It's a bit more efficient.

Change-Id: If813a597516c41fdac6f60e586641d0ee1cde025
Reviewed-on: https://go-review.googlesource.com/c/go/+/623818
Reviewed-by: Michael Pratt <mpratt@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/runtime/maps/map.go
src/internal/runtime/maps/runtime_fast32_swiss.go
src/internal/runtime/maps/runtime_fast64_swiss.go
src/internal/runtime/maps/runtime_faststr_swiss.go
src/internal/runtime/maps/table.go