Skip to content

Track CSR storage and traversal improvements #80

Closed
12 of 12 issues completed
Closed

Description

@prrao87

Goal

Track the remaining CSR storage and traversal work, with Lance staying the source of truth and the CSR staying a derived index on a single machine.

With persist_csr=True, engines can load a usable stored CSR instead of rebuilding it at start-up (#109). The CSR is still loaded whole into memory. Node indexes are still built at start-up, alongside the stored CSRs, which load in parallel since #155 (#117). Named relationship hops already stay on the CSR and use stored edge row addresses (#87).

Most of these ideas come from lance-graph's CSR roadmap (lance-format/lance-graph#159) and the review of its native expand PR (lance-format/lance-graph#162).

Open work

Completed or split out

Earlier count steps remain relevant: #97 introduced scalar two-hop counts; #113 added in-place CSR degree counting and first-hop aggregation; #131, #132 and #133 extended scalar counting to shared-end, undirected and optional shapes respectively. These are targeted rewrites, not a general factorized execution model.

Decisions

Related changes

Each open sub-issue describes its own problem and acceptance criteria. Performance claims still require measurements against main on both benchmark suites, following CONTRIBUTING.md.

Status refreshed November 13, 2026, after #150, #151 and #153 merged. The #76 figures come from the measurements in #153; the rest is a status/source review, not a new benchmark run.

Sub-issues

Sub-issues

12 of 12 Issues completed
Loading 12 sub-issues

Activity

  1. added
    enhancement
    on Oct 28, 2026
  2. pinned this issue on Nov 13, 2026
  3. prrao87 commented on Nov 14, 2026

    @prrao87
    MemberAuthor

    Closing this tracker. Everything it listed is done, decided or deferred, as recorded above. The one item still open is #81: build the CSR as a native Lance adjacency index, blocked on Lance supporting pluggable index kinds. (#160, the remaining memory work from #79, was later closed as not planned; see Decisions.)

  4. unpinned this issue on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions