Repository navigation
Fix ignore-times handling for quick checks - #2072
Merged
Merged
Conversation
This was referenced May 5, 2026
oferchen
added a commit
that referenced
this pull request
May 7, 2026
…#3933) Document the four wire-compatible zsync-inspired matching speedups (bithash prefilter #2059-2062, seq-match extend-run #2064-2066, matched-block pruning #2068-2070, compact-keys layout #2072-2073) with CHANGELOG snippets, a release notes block, an anti-spec forbidding wire-feature advertisement, and a placeholder for benchmark numbers pending #2081 and #2082.
oferchen
added a commit
that referenced
this pull request
May 13, 2026
#2072) (#3994) * perf(match): replace FxHashMap with flat open-addressing CompactLookup (#2072) Replace the pointer-chasing FxHashMap<(u16, u16), Vec<usize>> in DeltaSignatureIndex with a flat open-addressing hash table using Robin Hood probing. Each entry is 8 bytes (packed rsum key + block index), fitting 8 entries per 64-byte cache line. This eliminates heap-allocated Vec<usize> buckets and their pointer indirection, improving cache locality during the block-matching hot loop. The CompactLookup iterator terminates early using the Robin Hood invariant (no matching entry can exist beyond a slot whose probe distance is less than the scan distance). Also removes the now-unused `parallel` feature and rayon optional dependency from the match crate, since the parallel candidate verification path was only possible with the old Vec-based buckets. * fix: regenerate Cargo.lock after removing rayon from matching crate * fix(match): add capacity() method to CompactLookup Tests reference capacity() to verify allocation reuse across rebuild.
4 tasks
oferchen
added a commit
that referenced
this pull request
May 16, 2026
…2073) Adds a Criterion bench that profiles DeltaSignatureIndex's compact lookup table at index sizes spanning L1 (~32 KiB), L2 (~512 KiB), LLC (~32 MiB), and main memory (~256 MiB), with sequential and scattered probe access patterns. The bench supplies the evidence needed to decide whether a packed (rsum_low | bucket_idx) layout (#2072) would meaningfully improve cache behavior over the current 8-byte slot layout. Top-of-file comments document the perf stat and cachegrind invocations and the favorable / unfavorable thresholds that should inform the decision. Production code is unchanged. The bench-internal feature gains three read-only accessors on DeltaSignatureIndex (lookup_capacity, lookup_bytes, lookup_probe) so the bench can isolate the open- addressed probe chain from the surrounding match pipeline.
oferchen
added a commit
that referenced
this pull request
May 16, 2026
…2073) Adds a Criterion bench that profiles DeltaSignatureIndex's compact lookup table at index sizes spanning L1 (~32 KiB), L2 (~512 KiB), LLC (~32 MiB), and main memory (~256 MiB), with sequential and scattered probe access patterns. The bench supplies the evidence needed to decide whether a packed (rsum_low | bucket_idx) layout (#2072) would meaningfully improve cache behavior over the current 8-byte slot layout. Top-of-file comments document the perf stat and cachegrind invocations and the favorable / unfavorable thresholds that should inform the decision. Production code is unchanged. The bench-internal feature gains three read-only accessors on DeltaSignatureIndex (lookup_capacity, lookup_bytes, lookup_probe) so the bench can isolate the open- addressed probe chain from the surrounding match pipeline.
oferchen
added a commit
that referenced
this pull request
May 16, 2026
…2073) Adds a Criterion bench that profiles DeltaSignatureIndex's compact lookup table at index sizes spanning L1 (~32 KiB), L2 (~512 KiB), LLC (~32 MiB), and main memory (~256 MiB), with sequential and scattered probe access patterns. The bench supplies the evidence needed to decide whether a packed (rsum_low | bucket_idx) layout (#2072) would meaningfully improve cache behavior over the current 8-byte slot layout. Top-of-file comments document the perf stat and cachegrind invocations and the favorable / unfavorable thresholds that should inform the decision. Production code is unchanged. The bench-internal feature gains three read-only accessors on DeltaSignatureIndex (lookup_capacity, lookup_bytes, lookup_probe) so the bench can isolate the open- addressed probe chain from the surrounding match pipeline.
oferchen
added a commit
that referenced
this pull request
May 16, 2026
…2073) (#4188) * bench(matching): compact-keys cache behavior across L1/L2/LLC sizes (#2073) Adds a Criterion bench that profiles DeltaSignatureIndex's compact lookup table at index sizes spanning L1 (~32 KiB), L2 (~512 KiB), LLC (~32 MiB), and main memory (~256 MiB), with sequential and scattered probe access patterns. The bench supplies the evidence needed to decide whether a packed (rsum_low | bucket_idx) layout (#2072) would meaningfully improve cache behavior over the current 8-byte slot layout. Top-of-file comments document the perf stat and cachegrind invocations and the favorable / unfavorable thresholds that should inform the decision. Production code is unchanged. The bench-internal feature gains three read-only accessors on DeltaSignatureIndex (lookup_capacity, lookup_bytes, lookup_probe) so the bench can isolate the open- addressed probe chain from the surrounding match pipeline. * style(matching): apply rustfmt to compact_keys_cache bench * style(matching): inline MAX_ENTRIES_ENV in format string
4 tasks
oferchen
added a commit
that referenced
this pull request
May 17, 2026
Records the no-op decision for the compact-keys packed-layout prototype. The current `CompactLookup` already realizes the zsync-style open-addressed table from the layout ADR with 8-byte slots packing the full rolling-sum key and a `u32` block index. A 4-byte slot in the `(rsum_low | block_idx)` shape would cap `block_idx` at 65 535, which any 16 MiB transfer at the default block size already exceeds. Defer per the ADR's revisit triggers; the existing #2073 cache bench remains the gate for any future denser variant.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…#3933) Document the four wire-compatible zsync-inspired matching speedups (bithash prefilter #2059-2062, seq-match extend-run #2064-2066, matched-block pruning #2068-2070, compact-keys layout #2072-2073) with CHANGELOG snippets, a release notes block, an anti-spec forbidding wire-feature advertisement, and a placeholder for benchmark numbers pending #2081 and #2082.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
#2072) (#3994) * perf(match): replace FxHashMap with flat open-addressing CompactLookup (#2072) Replace the pointer-chasing FxHashMap<(u16, u16), Vec<usize>> in DeltaSignatureIndex with a flat open-addressing hash table using Robin Hood probing. Each entry is 8 bytes (packed rsum key + block index), fitting 8 entries per 64-byte cache line. This eliminates heap-allocated Vec<usize> buckets and their pointer indirection, improving cache locality during the block-matching hot loop. The CompactLookup iterator terminates early using the Robin Hood invariant (no matching entry can exist beyond a slot whose probe distance is less than the scan distance). Also removes the now-unused `parallel` feature and rayon optional dependency from the match crate, since the parallel candidate verification path was only possible with the old Vec-based buckets. * fix: regenerate Cargo.lock after removing rayon from matching crate * fix(match): add capacity() method to CompactLookup Tests reference capacity() to verify allocation reuse across rebuild.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…2073) (#4188) * bench(matching): compact-keys cache behavior across L1/L2/LLC sizes (#2073) Adds a Criterion bench that profiles DeltaSignatureIndex's compact lookup table at index sizes spanning L1 (~32 KiB), L2 (~512 KiB), LLC (~32 MiB), and main memory (~256 MiB), with sequential and scattered probe access patterns. The bench supplies the evidence needed to decide whether a packed (rsum_low | bucket_idx) layout (#2072) would meaningfully improve cache behavior over the current 8-byte slot layout. Top-of-file comments document the perf stat and cachegrind invocations and the favorable / unfavorable thresholds that should inform the decision. Production code is unchanged. The bench-internal feature gains three read-only accessors on DeltaSignatureIndex (lookup_capacity, lookup_bytes, lookup_probe) so the bench can isolate the open- addressed probe chain from the surrounding match pipeline. * style(matching): apply rustfmt to compact_keys_cache bench * style(matching): inline MAX_ENTRIES_ENV in format string
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Records the no-op decision for the compact-keys packed-layout prototype. The current `CompactLookup` already realizes the zsync-style open-addressed table from the layout ADR with 8-byte slots packing the full rolling-sum key and a `u32` block index. A 4-byte slot in the `(rsum_low | block_idx)` shape would cap `block_idx` at 65 535, which any 16 MiB transfer at the default block size already exceeds. Defer per the ADR's revisit triggers; the existing #2073 cache bench remains the gate for any future denser variant.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
…2073) (#4188) * bench(matching): compact-keys cache behavior across L1/L2/LLC sizes (#2073) Adds a Criterion bench that profiles DeltaSignatureIndex's compact lookup table at index sizes spanning L1 (~32 KiB), L2 (~512 KiB), LLC (~32 MiB), and main memory (~256 MiB), with sequential and scattered probe access patterns. The bench supplies the evidence needed to decide whether a packed (rsum_low | bucket_idx) layout (#2072) would meaningfully improve cache behavior over the current 8-byte slot layout. Top-of-file comments document the perf stat and cachegrind invocations and the favorable / unfavorable thresholds that should inform the decision. Production code is unchanged. The bench-internal feature gains three read-only accessors on DeltaSignatureIndex (lookup_capacity, lookup_bytes, lookup_probe) so the bench can isolate the open- addressed probe chain from the surrounding match pipeline. * style(matching): apply rustfmt to compact_keys_cache bench * style(matching): inline MAX_ENTRIES_ENV in format string
oferchen
added a commit
that referenced
this pull request
May 18, 2026
Records the no-op decision for the compact-keys packed-layout prototype. The current `CompactLookup` already realizes the zsync-style open-addressed table from the layout ADR with 8-byte slots packing the full rolling-sum key and a `u32` block index. A 4-byte slot in the `(rsum_low | block_idx)` shape would cap `block_idx` at 65 535, which any 16 MiB transfer at the default block size already exceeds. Defer per the ADR's revisit triggers; the existing #2073 cache bench remains the gate for any future denser variant.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
#2072) (#3994) * perf(match): replace FxHashMap with flat open-addressing CompactLookup (#2072) Replace the pointer-chasing FxHashMap<(u16, u16), Vec<usize>> in DeltaSignatureIndex with a flat open-addressing hash table using Robin Hood probing. Each entry is 8 bytes (packed rsum key + block index), fitting 8 entries per 64-byte cache line. This eliminates heap-allocated Vec<usize> buckets and their pointer indirection, improving cache locality during the block-matching hot loop. The CompactLookup iterator terminates early using the Robin Hood invariant (no matching entry can exist beyond a slot whose probe distance is less than the scan distance). Also removes the now-unused `parallel` feature and rayon optional dependency from the match crate, since the parallel candidate verification path was only possible with the old Vec-based buckets. * fix: regenerate Cargo.lock after removing rayon from matching crate * fix(match): add capacity() method to CompactLookup Tests reference capacity() to verify allocation reuse across rebuild.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…2073) (#4188) * bench(matching): compact-keys cache behavior across L1/L2/LLC sizes (#2073) Adds a Criterion bench that profiles DeltaSignatureIndex's compact lookup table at index sizes spanning L1 (~32 KiB), L2 (~512 KiB), LLC (~32 MiB), and main memory (~256 MiB), with sequential and scattered probe access patterns. The bench supplies the evidence needed to decide whether a packed (rsum_low | bucket_idx) layout (#2072) would meaningfully improve cache behavior over the current 8-byte slot layout. Top-of-file comments document the perf stat and cachegrind invocations and the favorable / unfavorable thresholds that should inform the decision. Production code is unchanged. The bench-internal feature gains three read-only accessors on DeltaSignatureIndex (lookup_capacity, lookup_bytes, lookup_probe) so the bench can isolate the open- addressed probe chain from the surrounding match pipeline. * style(matching): apply rustfmt to compact_keys_cache bench * style(matching): inline MAX_ENTRIES_ENV in format string
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
Records the no-op decision for the compact-keys packed-layout prototype. The current `CompactLookup` already realizes the zsync-style open-addressed table from the layout ADR with 8-byte slots packing the full rolling-sum key and a `u32` block index. A 4-byte slot in the `(rsum_low | block_idx)` shape would cap `block_idx` at 65 535, which any 16 MiB transfer at the default block size already exceeds. Defer per the ADR's revisit triggers; the existing #2073 cache bench remains the gate for any future denser variant.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
…#3933) Document the four wire-compatible zsync-inspired matching speedups (bithash prefilter #2059-2062, seq-match extend-run #2064-2066, matched-block pruning #2068-2070, compact-keys layout #2072-2073) with CHANGELOG snippets, a release notes block, an anti-spec forbidding wire-feature advertisement, and a placeholder for benchmark numbers pending #2081 and #2082.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
#2072) (#3994) * perf(match): replace FxHashMap with flat open-addressing CompactLookup (#2072) Replace the pointer-chasing FxHashMap<(u16, u16), Vec<usize>> in DeltaSignatureIndex with a flat open-addressing hash table using Robin Hood probing. Each entry is 8 bytes (packed rsum key + block index), fitting 8 entries per 64-byte cache line. This eliminates heap-allocated Vec<usize> buckets and their pointer indirection, improving cache locality during the block-matching hot loop. The CompactLookup iterator terminates early using the Robin Hood invariant (no matching entry can exist beyond a slot whose probe distance is less than the scan distance). Also removes the now-unused `parallel` feature and rayon optional dependency from the match crate, since the parallel candidate verification path was only possible with the old Vec-based buckets. * fix: regenerate Cargo.lock after removing rayon from matching crate * fix(match): add capacity() method to CompactLookup Tests reference capacity() to verify allocation reuse across rebuild.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Testing
[Codex Task](