Skip to content

Avoid key clones in storage batch reads - #73

Merged
bjmeetsfo merged 1 commit into
mainfrom
borrowed-storage-batch-reads
Sep 6, 2026
Merged

Avoid key clones in storage batch reads#73
bjmeetsfo merged 1 commit into
mainfrom
borrowed-storage-batch-reads

Conversation

@bjmeetsfo

Copy link
Copy Markdown
Collaborator

Summary

  • coalesce storage batch reads over borrowed key references
  • route multi-SSD batch reads without cloning temporary String keys
  • preserve public get_batch behavior while trimming hot-path allocation

Validation

  • cargo fmt -- --check
  • cargo test --locked --no-default-features batch_get -- --nocapture
  • cargo test --locked --no-default-features -q
  • git diff --check HEAD~1..HEAD

@bjmeetsfo
bjmeetsfo merged commit 58a050e into main Sep 6, 2026
4 of 5 checks passed
@bjmeetsfo
bjmeetsfo deleted the borrowed-storage-batch-reads branch September 6, 2026 21:36
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