aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/convert_test.go
diff options
context:
space:
mode:
authorMichael Pratt <mpratt@google.com>2024-08-19 17:45:41 -0400
committerGopher Robot <gobot@golang.org>2024-10-28 20:35:27 +0000
commit808da68c1c66e05a04a7d4bc046f27811711d7ff (patch)
tree693853e49bd2f5e9e305cefb48b1bce28d1a962b /src/database/sql/convert_test.go
parent77e3d8cf13a31343ba98268c2dddf6bc41f6ce4c (diff)
downloadgo-808da68c1c66e05a04a7d4bc046f27811711d7ff.tar.xz
internal/runtime/maps: linear scan of small map
We still use the hash and control word, but loop over all 8 bytes instead of doing the match operation, which ends up being slightly faster when there is only one group. Note that specialized variants added later will avoid hashing at all. For #54766. Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest-swissmap Change-Id: I3bb353b023dd6120b6585e87d3efe2f18ac9e1ef Reviewed-on: https://go-review.googlesource.com/c/go/+/611189 Reviewed-by: Keith Randall <khr@golang.org> Auto-Submit: Michael Pratt <mpratt@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/database/sql/convert_test.go')
0 files changed, 0 insertions, 0 deletions