3 ms·
Would a better benchmark not just use some kind of pseudo randomly generated sequence to avoid having two arrays?
by anonymousDan 1y ago
Would a better benchmark not just use some kind of pseudo randomly generated sequence to avoid having two arrays?
- sestep 1y agoUnclear 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-arrays-how-much-time-can-be-attributed-to-random-number-generation/ https://lemire.me/blog/2018/03/24/when-shuffling-large-array...