Comment Re:Why is this important to us? (Score 0, Troll) 555
You're wrong.
You cannot decompress that stream since if you compress
0011 you get 01
Please tell me how you distinguish that from just having compressed 01.
Now add length coding so you know the resulting length then you can decompress the earlier example but not:
010011
0101
There are two options, both equally probable.
Compressing something isn't difficult, but if you want it to be able to decompress then you have to think of something more clever.
Read a basic book on information theory and compression.
You cannot decompress that stream since if you compress
0011 you get 01
Please tell me how you distinguish that from just having compressed 01.
Now add length coding so you know the resulting length then you can decompress the earlier example but not:
010011
0101
There are two options, both equally probable.
Compressing something isn't difficult, but if you want it to be able to decompress then you have to think of something more clever.
Read a basic book on information theory and compression.