Repository navigation
perf(csr): traverse variable-length paths iteratively - #33
Merged
prrao87 merged 2 commits intoOct 26, 2026
Merged
Conversation
prrao87
changed the base branch from
codex/issue-11-bounded-csr
to
codex/issue-13-base
October 26, 2026 16:49
prrao87
marked this pull request as ready for review
October 26, 2026 16:49
Member
|
This change merged into an intermediate branch, not |
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.
Problem and change
Resolves #13. Eligible variable-length paths use one resumable depth-first CSR operator for the complete hop range. Mixed-label alternation remains typed until execution; unsupported shapes keep the join fallback. Output chunks are bounded and the 20-hop limit remains.
Zero-hop paths use source identity in both execution routes, including label identity when integer keys overlap. Duplicate paths and the existing immediate-backtracking rule are preserved. Rust callers constructing
LogicalOperator::VariableLengthExpandprovidetarget_label; Python signatures are unchanged.Validation
Head
c6bc5c150a2e198e2346e1870509db0f4ce69887; frozen parente127755c872949733c69435047384c9d17fb572b. Focused checks and regression details record commands, results, documentation and compatibility. The release receipt pins wheel/archive identity and 347 installed tests.Both complete workloads pass unchanged goldens in memory and lazy modes. Retained first-pass geometric mean speedups are below (greater than one is faster). Per-query results and paired investigations remain in the audit archive.
Measurements use the same Apple M4 Max (16 cores, 128 GiB), macOS 26.6.2 arm64 and Python 3.13.17, with Q30 revision
6260689and IC revisionc185123. Reproduction instructions pin settings, data checksums, locks and commands. The frozen main baseline is code-identical to current main90114f3; the equivalence check also verifies clean prospective main-target merges.This is a coordinated draft. Preserve its frozen-head outcomes and apply the shared corrections in the qualified integration; changing the actual target requires requalification. The accepted combined engine source is
7d2ef3e; its current-main documentation merge is5fe24cd.User impact
Eligible typed paths use one iterative operator; true zero-hop identity is corrected and the 20-hop limit remains. Rust VariableLengthExpand constructors supply target_label. Cypher/CSR limits and migration notes are updated.
Review ledger · Current contribution guide
Audit archive: 47,675,190 bytes; SHA-256
b3486fb30a34639c830b5d49353b3838f96369f95df959ac35f85511f7f8b2de. The small current-main supplement preserves the documentation update. Original absolute paths in receipts map to included records through the archive index.Submitted by David Hughes (@stugorf), with AI Collaboration.