|I'm a bit confused (as usual). 8 bits is not technically considered "printable", although all 256 ascii is (printable, that is, given a healthy code-page.) The 6000-value set reduces to 23.5 given 8 bits, but 47 if allowed only 7 bits, so the 6K becomes 24 chars. if 8-bit, or 47 if 7-bit (which is within the standard considered "printable ascii".) Then, you need to consider the trade-off in code-size vs. data compression. It does no good to compress data if the decompression code plus the data exceeds the alternative of simpler extraction or just "no compression". I believe either way, you will still have to include the conversion-table itself. That brings the elements to three: data, code, and table. I assume that the variable contains only the data, but your distribution software|
will have to incorporate the other two elements in order to "inflate" the variable. Am I right? or just way off orbit? ps: I'm sure there are established methods to maximize compression of all requisite elements at any given threshold of "byte-size", since this would be a very common scenario both for legitimate software and viral agents. I know I haven't told you anything you didn't already know, Ha!.
message edited by nbrane