aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mem_linux.go
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2023-04-11 15:28:23 -0700
committerGopher Robot <gobot@golang.org>2023-04-25 22:06:06 +0000
commit6c1792d1ff5fa949e39e383828c7dc666f8ac4fe (patch)
treeb606399649d4c63b64f7627bdeaceffb129b9453 /src/runtime/mem_linux.go
parentbb079efbdcc738a236b30f295ccb286df58e2bc3 (diff)
downloadgo-6c1792d1ff5fa949e39e383828c7dc666f8ac4fe.tar.xz
crypto/sha1: add WriteString and WriteByte method
This can reduce allocations when hashing a string or byte rather than []byte. For #38776 Change-Id: I7c1fbdf15abf79d2faf360f75adf4bc550a607e9 Reviewed-on: https://go-review.googlesource.com/c/go/+/483815 TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Run-TryBot: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Joel Sing <joel@sing.id.au>
Diffstat (limited to 'src/runtime/mem_linux.go')
0 files changed, 0 insertions, 0 deletions