Skip to content

Text Compression

Compare
Choose a tag to compare
@AspireOne AspireOne released this 19 May 22:37
· 12 commits to master since this release
5894dc4
  • The amount of bits used for representing the characters' codes length is now dynamic, choosing between 3-6 bits. The previous, hard-coded value was 4 bits. This means
  1. a bit better compression in smaller files
  2. increase of the maximal code length from 2^4 - 1 = 15 to 2^6 - 1 = 63. This means that the compression is now able to compress files with much more characters, and it's very unlikely that any ordinary text would exceed that value.
  • Removed some methods meant for debugging purposes