Class ArrayShuffleBenchmark


  • public class ArrayShuffleBenchmark
    extends Object
    Executes benchmark to compare the speed of shuffling an array.

    Batched shuffle samples have been adapted from the blog post: Daniel Lemire: Faster random integer generation with batching. The samples provided in the blog and the referenced paper are for a 64-bit source of randomness which requires native support for 128-bit multiplication. These have been modified for a 32-bit source of randomness.

    • Nevin Brackett-Rozinsky, Daniel Lemire, Batched Ranged Random Integer Generation, Software: Practice and Experience (to appear) arXiv:2408.06213M