Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ElementsProject/elements
/ FastRandom_32bit
Function
FastRandom_32bit
src/bench/crypto_hash.cpp:93–99 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
91
}
92
93
static void FastRandom_32bit(benchmark::Bench& bench)
94
{
95
FastRandomContext rng(true);
96
bench.run([&] {
97
rng.rand32();
98
});
99
}
100
101
static void FastRandom_1bit(benchmark::Bench& bench)
102
{
Callers
nothing calls this directly
Calls
2
rand32
Method · 0.80
run
Method · 0.45
Tested by
no test coverage detected