|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#26 | ||
|
Quote:
Quote:
|
|||
|
|
0
|
|
|
#27 | |
|
Quote:
|
||
|
|
0
|
|
|
#28 | |
|
Quote:
Also, do you have a source that shows you could compress this under 100 bytes along with the program to reexpand it? I'm not asking as a challenge. I'm a programmer and genuinely curious.
__________________
My 24 hour web cam! Last edited by SilentPanda; Feb 12, 2013 at 09:07 AM. |
||
|
|
0
|
|
|
#29 | |
|
Quote:
typo ?Something like Huffman with binary tree would not help; the distribution of members is equal; the tree would be balanced hence no advantage due to different entropies ... |
||
|
|
1
|
|
|
#30 | |
|
Quote:
__________________
My 24 hour web cam! |
||
|
|
0
|
|
|
#31 | |
|
Quote:
I was basically saying that the Kolmogorov complexity was under 100 bytes. I'm a bit surprised you know of Huffman coding but not complexity theory. My compressed form is 57885161 which is 4 bytes (it fits in a 32-bit integer), and that leaves me 96 bytes to write my decompressor (an assembly program which basically says "convert that many 1's as a binary number to decimal"). I could claim that simply printing that many 1's is a valid decompressor since binary is a valid representation, but since you can do the decimal conversion in under 96 bytes easily enough, it's a moot point. Edit: By the way, your Huffman tree is not remotely balanced. You're talking about bytes, so you have 256 possible values of which the most common 10 (11 if you insist on using commas) make up all your bytes. Huffman would get a very high compression ratio on that 17 meg text file. I'm actually surprised that 7-zip did as poorly as it did on purely numerical data stored in ascii. Last edited by Oracle1729; Feb 12, 2013 at 12:12 PM. |
||
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 03:15 PM.







typo ?
I support the
Linear Mode
