diff options
author | Russ Cox <rsc@golang.org> | 2022-04-27 09:02:53 -0400 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2022-04-29 14:23:26 +0000 |
commit | 3cb10d14b7671ceee374d90ae0d4c3d024838f8a (patch) | |
tree | 13ff63b42da344a776ca02a08085316d42f9a3ba /AUTHORS | |
parent | 509776be5dca8d7ca47cc6ef2e4fc452eb99dc96 (diff) | |
download | go-3cb10d14b7671ceee374d90ae0d4c3d024838f8a.tar.gz go-3cb10d14b7671ceee374d90ae0d4c3d024838f8a.zip |
[dev.boringcrypto] crypto/internal/boring: avoid allocation in big.Int conversion
The conversion via byte slices is inefficient; we can convert via word slices
and avoid the copy entirely.
For #51940.
Change-Id: I06f747e0acffffae427d9706d43bdacf146c027d
Reviewed-on: https://go-review.googlesource.com/c/go/+/395875
Reviewed-by: Roland Shoemaker <roland@golang.org>
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'AUTHORS')
0 files changed, 0 insertions, 0 deletions