clockworklabs / clockworklabs/SpacetimeDB
Consider doing a single memcopy for a list of rows where the row type has no padding in the bflatn layout
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 46
Description
Improving on the case of StaticBsatnLayout.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the StaticBsatnLayout implementation and the surrounding bflatn layout code. Determine how rows are currently copied and what conditions identify a row type without padding; the work is done when that case can use one copy operation for a list of rows and the existing layout behavior remains correct.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- databases, performance
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100