Bit Reversal Performance Comparison Test in C and Python
John Bryan
-
The two bit reversal algorithms,
- Bracewell-Buneman
- Yu-Loh-Miller
are implemented in C and Python and time measurements are taken for varying sequence lengths.
-
C implementation.
-
Python implementation.
-
C Results
-
Python Results
References:
- A First Course in Fourier Analysis by David W. Kammler. Contains description of Bracewell-Buneman algorithm.
-
Xiangui Yu, Nan K Loh, and W.C. Miller, "An improved digit-reversal permutation algorithm", 1992.
-
Stack Overflow.