Registry / utility / valyala-fastrand

valyala-fastrand

JSON →
library1.1.0gogounverified

Package fastrand provides a fast pseudorandom number generator that scales well on multi-CPU systems.

go get github.com/valyala/fastrand
INSTALL
IMPORT
SIG · VALYALA-FASTRAND
V
valyala-fastrand
utilitygov1.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

fastrand
✓ github.com/valyala/fastrand

Generate a random number in range [0, 100)

package main import ( "fmt" "github.com/valyala/fastrand" ) func main() { rng := fastrand.RNG{} fmt.Println(rng.Uint32n(100)) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
valyala-fastrand — go get valyala-fastrand · libregistry