Home | History | Annotate | Download | only in dictBuilder

Lines Matching refs:savings

156     U32 savings;
163 d->savings = (U32)(-1);
176 U32 savings[LLIMIT] = {0};
307 /* calculate savings */
308 savings[5] = 0;
310 savings[i] = savings[i-1] + (lengthList[i] * (i-3));
313 (unsigned)pos, (unsigned)maxLength, (unsigned)savings[maxLength], (double)savings[maxLength] / (double)maxLength);
317 solution.savings = savings[maxLength];
370 table[u].savings += elt.savings * addedLength / elt.length; /* rough approx */
371 table[u].savings += elt.length / 8; /* rough approx bonus */
374 while ((u>1) && (table[u-1].savings < elt.savings))
387 table[u].savings += elt.length / 8; /* rough approx bonus */
390 table[u].savings += elt.savings * addedLength / elt.length; /* rough approx */
394 while ((u>1) && (table[u-1].savings < elt.savings))
404 table[u].savings += (U32)(elt.savings * addedLength / elt.length);
446 while (table[current].savings < elt.savings) {
1021 DISPLAYLEVEL(3, "%3u:%3u bytes at pos %8u, savings %7u bytes |",
1022 u, length, pos, (unsigned)dictList[u].savings);