tpl/collections: Add collections.D using Vitter's Method D for sequential random sampling

This commit is contained in:
Bjørn Erik Pedersen
2025-08-26 20:37:08 +02:00
committed by GitHub
parent 84dd495f2b
commit 1ba80874e4
8 changed files with 387 additions and 7 deletions

4
go.mod
View File

@@ -74,7 +74,7 @@ require (
github.com/yuin/goldmark-emoji v1.0.6
go.uber.org/automaxprocs v1.5.3
gocloud.dev v0.43.0
golang.org/x/exp v0.0.0-20221031165847-c99f073a8326
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b
golang.org/x/image v0.30.0
golang.org/x/mod v0.27.0
golang.org/x/net v0.43.0
@@ -190,4 +190,4 @@ require (
software.sslmate.com/src/go-pkcs12 v0.2.0 // indirect
)
go 1.24
go 1.24.0