llvm-project/libcxx/include/__random
Laramie Leavitt b07880454b [libc++] Replace modulus operations in std::seed_seq::generate with conditional checks.
Abseil benchmarks suggest that the conditional checks result in faster code (4-5x)
as they are compiled into conditional move instructions (cmov on x86).

Reviewed By: #libc, philnik, Mordante

Spies: pengfei, Mordante, philnik, libcxx-commits

Differential Revision: https://reviews.llvm.org/D125329
2022-05-24 10:29:25 +02:00
..
bernoulli_distribution.h
binomial_distribution.h
cauchy_distribution.h
chi_squared_distribution.h
clamp_to_integral.h
default_random_engine.h
discard_block_engine.h
discrete_distribution.h
exponential_distribution.h
extreme_value_distribution.h
fisher_f_distribution.h
gamma_distribution.h
generate_canonical.h
geometric_distribution.h
independent_bits_engine.h
is_seed_sequence.h
is_valid.h
knuth_b.h
linear_congruential_engine.h
log2.h
lognormal_distribution.h
mersenne_twister_engine.h
negative_binomial_distribution.h
normal_distribution.h
piecewise_constant_distribution.h
piecewise_linear_distribution.h
poisson_distribution.h
random_device.h
ranlux.h
seed_seq.h
shuffle_order_engine.h
student_t_distribution.h
subtract_with_carry_engine.h
uniform_int_distribution.h
uniform_random_bit_generator.h
uniform_real_distribution.h
weibull_distribution.h