Skip to content

Read the row index for the queried matrix range - #547

Open
rpinho wants to merge 2 commits into
open2c:masterfrom
rpinho:perf-slice-matrix-row-index
Open

rpinho wants to merge 2 commits into
open2c:masterfrom
rpinho:perf-slice-matrix-row-index

Conversation

@rpinho

@rpinho rpinho commented Nov 18, 2026 •

Copy link
Copy Markdown

Each Cooler.matrix().fetch() reads the entire row index. Fetching 2,200 100 kb windows from the Dixon H1-hESC 1 kb example took a median of 90.61 seconds. Read the offsets for the query's bin range and pass the first bin ID to the CSR reader. The same benchmark took 1.52 seconds with identical matrix bytes, and the range-query tests pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N

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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant