Toggle Sidebar
Toggle Theme
Caustic
v0.1.4
Pages
Modules
Caustic v0.1.4
Caustic.Benchmark
View Source
To compare speed of native implementation vs optimized implementation.
Link to this section
Summary
Functions
benchmark_pow_mod(x \\ 5, y \\ 12345, m \\ 17, times \\ 1000)
pow_mod_fine(x, y, m)
pow_mod_slow(x, y, m)
repeat(f, n)
Link to this section
Functions
Link to this function
benchmark_pow_mod(x \\ 5, y \\ 12345, m \\ 17, times \\ 1000)
View Source
Link to this function
pow_mod_fine(x, y, m)
View Source
Link to this function
pow_mod_slow(x, y, m)
View Source
Link to this function
repeat(f, n)
View Source