James Tucker 0207c19137
util/rands: add a cheap non-escaping rand type
math/rand and the current v2 proposal retain a source interface that
means they always heap allocate until some future compiler changes this
constraint. This type is one that can be used on-stack for use cases
like a cheap in-place shuffle with an on-stack random generator.

Updates #17243
Signed-off-by: James Tucker <james@tailscale.com>
2024-02-06 12:56:23 -08:00
..
2023-08-03 13:00:45 -07:00