3 ms·
I didn't realize it loops implicitly, that was my first time using the Rust benchmark tool. Doing only a single sine calculation each iteration yields test f
by Asraelite 9y ago
I didn't realize it loops implicitly, that was my first time using the Rust benchmark tool. Doing only a single sine calculation each iteration yields
test fast_sine ... bench: 6 ns/iter (+/- 0)
test normal_sine ... bench: 13 ns/iter (+/- 0)