4 ms·
Tried writing a version with no divisions. At least in my tests it was ~5x faster. Correctness not guaranteed. https://gist.github.com/karliss/6cc343f7359c2de91
by Karliss 10y ago
Tried writing a version with no divisions. At least in my tests it was ~5x faster. Correctness not guaranteed. https://gist.github.com/karliss/6cc343f7359c2de9166f1551f88482d9 https://gist.github.com/karliss/6cc343f7359c2de9166f1551f884...