clockworklabs / clockworklabs/SpacetimeDB
perf: Shrink the various types in `TableInner`
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 25.2k
- Forks
- 1.1k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 46
Description
For example, RowTypeLayout, StaticLayout, StaticBsatnValidator, and ``VarLenVisitorProgram` could amount to up to 32 bytes in savings. This should be considered after the other more important perf issues have been fixed.
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
Search for TableInner and the named types—RowTypeLayout, StaticLayout, StaticBsatnValidator, and VarLenVisitorProgram—and inspect their definitions and usages. Measure their current sizes before investigating whether their representations can be reduced without changing behavior. Done means the applicable types are smaller while the existing project checks still pass.
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
- 30/100