4 ms·
My data wasn't quite random! It repeats every 1kb, much smaller than zlib's window size (which is I think 16kb)
by _wmd 9y ago
My data wasn't quite random! It repeats every 1kb, much smaller than zlib's window size (which is I think 16kb)
- nkurz 9y agoA good rule-of-thumb might be that if your results show that you able to consistently compress supposedly random data to less than the size required for just the random binary bits, you should either recheck your numbers, verify your random number generator, or quickly file for a patent!
- jmiserez 9y agoYou should add googling “Shannon” “entropy” and “information theory” to that list ;-)