for 100 character not possible?compression works best on MUUUUUCH longer data, with repeated patterns within them. Try compressing a string made up of 1000 "a"'s.
In such a case, it is better to not compress the data. The compressed result may be bigger because of the extra data, e.g. the dictionary. Usually, a compression is only interesting with uncompressed data (so compressing a JPG file is mostly a waste of time) and enough data to have repetitive patterns.for 100 character not possible?
Thank you for your answer.In such a case, it is better to not compress the data. The compressed result may be bigger because of the extra data, e.g. the dictionary. Usually, a compression is only interesting with uncompressed data (so compressing a JPG file is mostly a waste of time) and enough data to have repetitive patterns.