Lines Matching refs:savings
210 U32 savings; member
217 d->savings = (U32)(-1); in ZDICT_initDictItem()
230 U32 savings[LLIMIT] = {0}; in ZDICT_analyzePos() local
362 savings[5] = 0; in ZDICT_analyzePos()
364 savings[i] = savings[i-1] + (lengthList[i] * (i-3)); in ZDICT_analyzePos()
367 …(unsigned)pos, (unsigned)maxLength, (unsigned)savings[maxLength], (double)savings[maxLength] / max… in ZDICT_analyzePos()
371 solution.savings = savings[maxLength]; in ZDICT_analyzePos()
424 table[u].savings += elt.savings * addedLength / elt.length; /* rough approx */ in ZDICT_tryMerge()
425 table[u].savings += elt.length / 8; /* rough approx bonus */ in ZDICT_tryMerge()
428 while ((u>1) && (table[u-1].savings < elt.savings)) in ZDICT_tryMerge()
441 table[u].savings += elt.length / 8; /* rough approx bonus */ in ZDICT_tryMerge()
444 table[u].savings += elt.savings * addedLength / elt.length; /* rough approx */ in ZDICT_tryMerge()
448 while ((u>1) && (table[u-1].savings < elt.savings)) in ZDICT_tryMerge()
458 table[u].savings += (U32)(elt.savings * addedLength / elt.length); in ZDICT_tryMerge()
500 while (table[current].savings < elt.savings) { in ZDICT_insertDictItem()
1023 u, length, pos, (unsigned)dictList[u].savings); in ZDICT_trainFromBuffer_unsafe_legacy()