Skip to content

fix: keep TOC reload insertion on the fast path - #63

Merged
pathscale merged 1 commit into
masterfrom
fix/toc-insert-fast-path
Aug 8, 2026
Merged

fix: keep TOC reload insertion on the fast path#63
pathscale merged 1 commit into
masterfrom
fix/toc-insert-fast-path

Conversation

@pathscale

Copy link
Copy Markdown
Owner

Follow-up to #62.

  • removes the unconditional duplicate scan from every TOC insertion
  • removes duplicate CreateNode insertions at their sized and unsized callers
  • probes segment capacity without mutating persisted size accounting
  • returns an explicit error for a truncated loaded segment chain
  • strengthens reload and cursor-placement regression coverage

Validation:

  • cargo test --workspace --all-targets
  • cargo clippy --workspace --all-targets --all-features -- -D warnings
  • repeated varying string upsert reload regression

Resolves the performance and size-accounting findings raised in review of #62.

@pathscale
pathscale merged commit d80d834 into master Aug 8, 2026
9 of 10 checks passed
@pathscale
pathscale deleted the fix/toc-insert-fast-path branch August 8, 2026 11:13
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