I also tried myself, on different array sizes, with more iterations. The branchy version is not strictly worse.
https://gist.github.com/Stefan-JLU/3925c6a73836ce841860b55c8...
https://gist.github.com/Stefan-JLU/3925c6a73836ce841860b55c8...
No comments yet.