package brotli

/* Dictionary data (words and transforms) for 1 possible context */
type encoderDictionary struct {
	words                 *dictionary
	cutoffTransformsCount uint32
	cutoffTransforms      uint64
	hash_table            []uint16
	buckets               []uint16
	dict_words            []dictWord
}

func initEncoderDictionary( *encoderDictionary) {
	.words = getDictionary()

	.hash_table = kStaticDictionaryHash[:]
	.buckets = kStaticDictionaryBuckets[:]
	.dict_words = kStaticDictionaryWords[:]

	.cutoffTransformsCount = kCutoffTransformsCount
	.cutoffTransforms = kCutoffTransforms
}