Skip to content

perf(studio): index timeline clip windows#2702

Draft
miguel-heygen wants to merge 1 commit into
codex/studio-timeline-d-playhead-follow-v2from
codex/studio-timeline-d-clip-index-v2
Draft

perf(studio): index timeline clip windows#2702
miguel-heygen wants to merge 1 commit into
codex/studio-timeline-d-playhead-follow-v2from
codex/studio-timeline-d-clip-index-v2

Conversation

@miguel-heygen

@miguel-heygen miguel-heygen commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

What

Index clip intervals per displayed track so visible clip windows do not scan the complete project.

Why

Row virtualization alone still leaves horizontal rendering proportional to every clip. Large timelines need interval queries whose work is bounded by the visible time range plus explicitly pinned actors.

How

  • Build an immutable per-row interval index with prefix maximum-end data.
  • Query overlapping clips by visible time range while retaining original projection order.
  • Preserve selected, dragged, resized, and revealed clips through explicit identity pins.

This is D7 of the independent Family D draft Graphite stack. Its review base is the immutable, PR-less Family C baseline; Families A-C do not need to merge for this PR to be reviewed. It supersedes legacy PR #2639, which remains open for audit until landing.

Test plan

  • Unit tests added/updated
  • Manual testing performed
  • Documentation updated (not applicable)

Validated on the exact Family D tip with clip-index and layout coverage, the full Studio/Server suites, both typechecks, static gates, and two strict 50,000-element Chromium passes.

miguel-heygen commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator Author

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant