Files
zstd-rs/lib/common
Nick Terrell 49cf880513 Approximate FSE encoding costs for selection
Estimate the cost for using FSE modes `set_basic`, `set_compressed`, and
`set_repeat`, and select the one with the lowest cost.

* The cost of `set_basic` is computed using the cross-entropy cost
  function `ZSTD_crossEntropyCost()`, using the normalized default count
  and the count.
* The cost of `set_repeat` is computed using `FSE_bitCost()`. We check the
  previous table to see if it is able to represent the distribution.
* The cost of `set_compressed` is computed with the entropy cost function
  `ZSTD_entropyCost()`, together with the cost of writing the normalized
  count `ZSTD_NCountCost()`.
2018-05-22 14:33:22 -07:00
..
2017-09-08 00:09:23 -07:00
2018-05-08 15:37:06 -07:00
2017-11-17 11:40:08 -08:00
2018-01-18 14:39:51 -08:00
2018-01-18 14:39:51 -08:00
2017-08-14 21:12:05 -07:00