View Single Post
Old 26th February 2016, 18:55   #4  |  Link
wonkey_monkey
Formerly davidh*****
 
wonkey_monkey's Avatar
 
Join Date: Jan 2004
Posts: 2,496
It won't work.

Quote:
1. convert the binary to many base 10 data blocks
No need; a normal number, such as pi is suspected to be, has an equal distribution of digits in all bases. You could do it in hexadecimal, base 256, or binary.

Quote:
if the size of a1+a2 >= the data block itself, abort the rest steps and start the next data block matching,
Here's where it will fall down: in order to differentiate between raw data blocks and compressed data blocks, you will need to add additional bytes (or at the very least, bits). These will outweigh the miniscule savings you'll make even if you do happen to find matching blocks early enough in pi (which in almost all cases you won't).
__________________
My AviSynth filters / I'm the Doctor

Last edited by wonkey_monkey; 26th February 2016 at 19:01.
wonkey_monkey is offline   Reply With Quote