dgraph-io / ristretto

A high performance memory-bound Go cache
https://dgraph.io/blog/post/introducing-ristretto-high-perf-go-cache/
Apache License 2.0
5.54k stars 364 forks source link

stop using rand.Seed() #385

Closed mangalaman93 closed 1 month ago

mangalaman93 commented 1 month ago

From math/rand/rand.go: As of Go 1.20 there is no reason to call Seed with a random value.