Commit f67af15
authored
chore: minor fixes around huffman encoding (#6037)
Instead of limiting each count in the histogram, we limit and normalize by the histogram sum.
Signed-off-by: Roman Gershman <[email protected]>1 parent edf431f commit f67af15
2 files changed
+12
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | | - | |
409 | | - | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
410 | 411 | | |
411 | | - | |
| 412 | + | |
| 413 | + | |
412 | 414 | | |
| 415 | + | |
413 | 416 | | |
414 | 417 | | |
415 | 418 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
283 | 283 | | |
284 | 284 | | |
285 | 285 | | |
286 | | - | |
287 | | - | |
| 286 | + | |
| 287 | + | |
288 | 288 | | |
289 | 289 | | |
290 | 290 | | |
| |||
1403 | 1403 | | |
1404 | 1404 | | |
1405 | 1405 | | |
1406 | | - | |
| 1406 | + | |
1407 | 1407 | | |
1408 | 1408 | | |
1409 | 1409 | | |
1410 | 1410 | | |
1411 | 1411 | | |
1412 | 1412 | | |
1413 | | - | |
1414 | | - | |
1415 | | - | |
1416 | | - | |
| 1413 | + | |
1417 | 1414 | | |
1418 | 1415 | | |
1419 | 1416 | | |
1420 | 1417 | | |
1421 | 1418 | | |
1422 | | - | |
| 1419 | + | |
1423 | 1420 | | |
1424 | 1421 | | |
1425 | 1422 | | |
| |||
1430 | 1427 | | |
1431 | 1428 | | |
1432 | 1429 | | |
1433 | | - | |
| 1430 | + | |
1434 | 1431 | | |
1435 | 1432 | | |
1436 | 1433 | | |
| |||
0 commit comments