 Smart encoders can monitor the compression efficiency and clear the table whenever the existing table no longer matches the input well.Since codes are added in a manner determined by the data, the decoder mimics building the table as it sees the resulting codes.It is critical that the encoder and decoder agree on the variety of LZW used