]> Cypherpunks repositories - gostls13.git/commit
net: use internal/bytealg.CountString
authorTobias Klauser <tklauser@distanz.ch>
Wed, 23 Aug 2023 09:22:04 +0000 (11:22 +0200)
committerGopher Robot <gobot@golang.org>
Wed, 23 Aug 2023 16:39:35 +0000 (16:39 +0000)
commitaa0ba4dcaff56b1e44ad0165516db36b71f99e50
treee231a1d2a2ff91d2d9b611f80883496cfb5cef07
parenta97f71578fe326629b6cdeaabe6eb0286ccc5c74
net: use internal/bytealg.CountString

On platforms that provide a native implementation this might be slightly
faster. On other platforms it is equivalent to the count func.

Change-Id: If46cc65598993e64084cc98533cb8c1e9679a6fd
Reviewed-on: https://go-review.googlesource.com/c/go/+/522136
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Damien Neil <dneil@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
src/net/dnsclient_unix.go
src/net/ipsock.go
src/net/parse.go