Skip to content

Delta validity is a top level child - #9970

Open
robert3005 wants to merge 2 commits into
developfrom
fix/fastlanes-delta-validity-top-child
Open

robert3005 wants to merge 2 commits into
developfrom
fix/fastlanes-delta-validity-top-child

Conversation

@robert3005

Copy link
Copy Markdown
Contributor

For performant delta encoding we have to read all the values in deltas
buffer that means that undefined values in deltas buffer are
significant. Instead of performing careful transformation dance to
ensure correctness we remove null values from deltas and keep them as
a top level child. Cascading encodings don't need any special handling
and will preserve all values since they're all valid.

Comment thread encodings/fastlanes/src/delta/array/delta_compress.rs
Comment thread encodings/fastlanes/src/delta/array/delta_compress.rs Outdated
@robert3005
robert3005 force-pushed the fix/fastlanes-delta-validity-top-child branch from f1e55d9 to ef96e92 Compare September 21, 2026 20:00
@robert3005 robert3005 added the changelog/break A breaking API change label Sep 21, 2026
@codspeed

codspeed Bot commented Sep 21, 2026 •

Copy link
Copy Markdown

Merging this PR will improve performance by 10.47%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚡ 1 improved benchmark
✅ 2094 untouched benchmarks
⏩ 518 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
⚡ WallTime words_gather_dispatch_neon[65536] 2.3 µs 2 µs +10.47%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing fix/fastlanes-delta-validity-top-child (81b248c) with develop (4435d5b)2

Open in CodSpeed

Footnotes

  1. 518 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on develop (76381d5) during the generation of this report, so 4435d5b was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

@robert3005
robert3005 force-pushed the fix/fastlanes-delta-validity-top-child branch from ef96e92 to 2d0a705 Compare September 21, 2026 20:11
@joseph-isaacs

Copy link
Copy Markdown
Contributor

@robert3005
robert3005 force-pushed the fix/fastlanes-delta-validity-top-child branch from 2d0a705 to 46cb5dc Compare October 5, 2026 11:17
For performant delta encoding we have to read all the values in deltas
buffer that means that undefined values in deltas buffer are
significant. Instead of performing careful transformation dance to
ensure correctness we remove null values from deltas and keep them as
a top level child. Cascading encodings don't need any special handling
and will preserve all values since they're all valid.

Signed-off-by: Robert Kruszewski <github@robertk.io>
@robert3005
robert3005 force-pushed the fix/fastlanes-delta-validity-top-child branch from 46cb5dc to 75b7296 Compare October 5, 2026 12:32
Signed-off-by: Robert Kruszewski <github@robertk.io>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/break A breaking API change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants