Benchmarking algorithms to visit all values in an array in random order
In an earlier post, I described how to visit all values in an array in a pseudo-random order quite fast. The idea is simple, given an array of size n, pick a value a that is coprime with n. Then for any value of b, you have that (a x + b ) modulo n … Continue reading Benchmarking algorithms to visit all values in an array in random order
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed