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