aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mbitmap_allocheaders.go
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2023-11-30 12:25:43 -0500
committerRuss Cox <rsc@golang.org>2023-12-05 20:32:54 +0000
commitd92434935f1b6af5ece81cf13171dbe216df6254 (patch)
treef9488a079b9bb251a1782a85796f5b219d7f51ff /src/runtime/mbitmap_allocheaders.go
parent6d7b3c8cd15794811949bb1ca12172eb35ace6ab (diff)
downloadgo-d92434935f1b6af5ece81cf13171dbe216df6254.tar.xz
math/rand/v2: add ChaCha8
This is a replay of CL 516859, after its rollback in CL 543895, with big-endian systems fixed and the tests disabled on RISC-V since the compiler is broken there (#64285). ChaCha8 provides a cryptographically strong generator alongside PCG, so that people who want stronger randomness have access to that. On systems with 128-bit vector math assembly (amd64 and arm64), ChaCha8 runs at about the same speed as PCG (25% slower on amd64, 2% faster on arm64). Fixes #64284. Change-Id: I6290bb8ace28e1aff9a61f805dbe380ccdf25b94 Reviewed-on: https://go-review.googlesource.com/c/go/+/546020 Reviewed-by: Filippo Valsorda <filippo@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'src/runtime/mbitmap_allocheaders.go')
0 files changed, 0 insertions, 0 deletions