zipf_vec_sample
tempo_
sidecar
0.7.4
In tempo_
sidecar::
synthetic_
load
tempo_sidecar
::
synthetic_load
Function
zipf_
vec_
sample
Copy item path
Source
fn zipf_vec_sample<'a, T>( rng: &mut
StdRng
, zipf:
Zipf
<
f64
>, items: &'a
[T]
, ) ->
Result
<
&'a T
>