3 ms·
I also tried myself, on different array sizes, with more iterations. The branchy version is not strictly worse. https://gist.github.com/Stefan-JLU/3925c6a73836
by Roxxik 1y ago
I also tried myself, on different array sizes, with more iterations. The branchy version is not strictly worse.
https://gist.github.com/Stefan-JLU/3925c6a73836ce841860b55c84909d98 https://gist.github.com/Stefan-JLU/3925c6a73836ce841860b55c8...