|
Hopefully you already noticed but that (still) generates bitstreams which are heavily biased to contain runs of consecutive 1 bits. Your top 16 most frequent sequences are every possible permutation with all 1 bits in a single consecutive run: (reordered for clarity) code:
Plotting the distribution shows the bias fairly clearly: You can see there are four distinct regions, the most frequent results are the 16 listed above, then there's a sharp drop to the 112 sequences with 7 consecutive bits, then another sharp drop to the sequences with 6 consecutive bits, then a small drop to the rest of the sequences. Since you're not shuffling you'll never break up any runs of consecutive bits. What might be useful is to reverse one byte when you rotate, it wont be perfect but should improve things somewhat.
|
# ¿ Jun 27, 2014 06:26 |
|
|
# ¿ May 10, 2024 19:16 |