mirror of
https://github.com/tailscale/tailscale.git
synced 2026-05-12 07:46:13 +02:00
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>