public void setDictionarySize(int dictionarySize) {
        int kDicLogSizeMaxCompress = 29;
        if (dictionarySize < (1) || dictionarySize > (1 << kDicLogSizeMaxCompress)) {
            return;
        }
        _dictionarySize = dictionarySize;
        int dicLogSize;
        for (dicLogSize = 0; dictionarySize > (1 << dicLogSize); dicLogSize++) {
        }
        _distTableSize = dicLogSize * 2;
    }