Comment by anonymousDan
13 hours ago
Would a better benchmark not just use some kind of pseudo randomly generated sequence to avoid having two arrays?
13 hours ago
Would a better benchmark not just use some kind of pseudo randomly generated sequence to avoid having two arrays?
Unclear if that'd be "better" but definitely something to compare against! Here's a related post by someone else that measures more of what you're talking about: https://lemire.me/blog/2018/03/24/when-shuffling-large-array...