You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(layout/dict): probe with the configured compressor instead of a hardcoded default (#8406)
## Summary
Closes: #8405
`DictStrategy`'s dict-fit probe was hardcoded to
`BtrBlocksCompressor::default()`, ignoring the caller's configured
compressor. The probe now takes `stats_compressor` as a parameter to
`DictStrategy::new`, so caller scheme exclusions are honoured.
`stats_compressor` rather than `data_compressor` because the probe needs
all dictionary schemes to detect eligibility. `data_compressor` excludes
`IntDictScheme`.
## Testing
New test `dict_probe_honours_configured_compressor`: asserts dict layout
with the default builder, asserts no dict layout with `StringDictScheme`
excluded.
AI use disclosure: fix authored with assistance from Claude Code.
---------
Signed-off-by: Thomas Santerre <thomas@santerre.xyz>
Signed-off-by: Onur Satici <onursatici@users.noreply.github.com>
Co-authored-by: Onur Satici <onursatici@users.noreply.github.com>
0 commit comments