Pith. sign in

REVIEW 2 cited by

MergeShuffle: A Very Fast, Parallel Random Permutation Algorithm

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 1508.03167 v1 pith:VXJPUS6R submitted 2015-08-13 cs.DS cs.DM

classification cs.DScs.DM
keywords algorithmrandommergeshufflebitsefficientexistingnumberpermutation
verification ladder T0 review T1 audit T2 compute T3 formal

Signed reviews

No signed human review yet.

0 comments
abstract

This article introduces an algorithm, MergeShuffle, which is an extremely efficient algorithm to generate random permutations (or to randomly permute an existing array). It is easy to implement, runs in $n\log_2 n + O(1)$ time, is in-place, uses $n\log_2 n + \Theta(n)$ random bits, and can be parallelized accross any number of processes, in a shared-memory PRAM model. Finally, our preliminary simulations using OpenMP suggest it is more efficient than the Rao-Sandelius algorithm, one of the fastest existing random permutation algorithms. We also show how it is possible to further reduce the number of random bits consumed, by introducing a second algorithm BalancedShuffle, a variant of the Rao-Sandelius algorithm which is more conservative in the way it recursively partitions arrays to be shuffled. While this algorithm is of lesser practical interest, we believe it may be of theoretical value. Our full code is available at: https://github.com/axel-bacher/mergeshuffle

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. OpenAlex reports about 15 citations worldwide. Full citation record

  1. Entropic Generation of Binary Words

    cs.DM 2026-06 unverdicted novelty 7.0 of 10

    Introduces random bit recycling for linear-time uniform generation of fixed-Hamming-weight binary words with near-Shannon-entropy random bit consumption.

  2. ORQ: Complex Analytics on Private Data with Strong Security Guarantees

    cs.CR 2025-09 conditional novelty 7.0 of 10

    ORQ evaluates multi-way join-aggregation workloads fully obliviously under MPC in O(n log n) time, reporting the first full TPC-H SF10 run under MPC without leakage or trusted compute.

Pith tools