Open main menu

CDOT Wiki β

Changes

GPUSquad

19 bytes added, 15:25, 20 March 2018
Idea 2 - LZW Compression
LZW compression is a compression algorithm that creates a dictionary of tokens from collections of characters. These tokens correspond to different patterns of bit values. Unique tokens are generated from the longest possible series of characters that recur in sequence any time later in a body of text. These patterns of bits that correspond to string tokens are written to an output file. Since commonly recurring sequences of words are registered to the dictionary as smaller (perhaps 12 bit) tokens, the corresponding dictionary bit code comes to represent a series of characters that would otherwise be longer than 12 bits. This is what facilitates the compression.
<nowiki>
************************************************
</nowiki>
CODE:
93
edits