Repository navigation
Move fsst kernel logic out of dispatch macros - #11527
Conversation
cargo-mutants does not mutate code inside macro invocations, so logic written in a match_each_*! body is never mutation tested. Keep those calls as thin dispatch and move the logic into generic helpers: - compress.rs: the first-to-last offset span used to choose the FSST output offset width moves into offsets_byte_span. - compute/uncompressed_size_in_bytes.rs: the sum of valid out-of-line lengths moves into sum_out_of_line_lengths. Behavior and monomorphization are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UeniBAvrcuvbZMgsM2XrTM Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
Merging this PR will degrade performance by 11.17%1 warning
Warning Please fix the performance issues or acknowledge them on CodSpeed. Performance Changes
Tip Investigate this regression by commenting Comparing Footnotes
|
|
CI status: the failing "Integration smoke tests" job fails on Generated by Claude Code |
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
|
The CodSpeed regression doesn't come from this PR. The two flagged benchmarks are Generated by Claude Code |
cargo-mutants can't mutate code inside macros, so logic in fsst's
match_each_*!bodies was never mutation tested. This moves the offset-span and out-of-line length sums into genericoffsets_byte_spanandsum_out_of_line_lengths.🤖 Generated with Claude Code
https://claude.ai/code/session_01UeniBAvrcuvbZMgsM2XrTM