Commit 280a766
committed
feat(fsst): remove min_count pre-filter in favor of gain-based selection
Replace the scaled min_count threshold (2-5 * sample_frac/128) with a
simple zero-count filter. The gain-based priority queue already ranks
candidates by value, making the pre-filter redundant. Removing it gives
the priority queue a larger candidate pool, which helps datasets with
diverse byte distributions (binary formats with many escape bytes).
Improvements: arrow_ipc -5KB, stack_traces -15KB, dns_binary -2KB.
No regressions on any of the 25 benchmark datasets.
Signed-off-by: Claude <noreply@anthropic.com>
https://claude.ai/code/session_01CbsKijtazMRRV6qsoM6e2G1 parent 47a80d9 commit 280a766
1 file changed
Lines changed: 7 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
864 | 864 | | |
865 | 865 | | |
866 | 866 | | |
867 | | - | |
868 | | - | |
869 | | - | |
870 | | - | |
871 | | - | |
872 | | - | |
873 | | - | |
874 | | - | |
875 | | - | |
876 | | - | |
| 867 | + | |
| 868 | + | |
| 869 | + | |
| 870 | + | |
| 871 | + | |
| 872 | + | |
| 873 | + | |
877 | 874 | | |
878 | 875 | | |
879 | 876 | | |
| |||
0 commit comments