Skip to content

Pass prepared Chunk batches directly to the writer - #230

Merged
vrtmrz merged 1 commit into
mainfrom
perf/create-chunks-buffer-handoff
Nov 20, 2026
Merged

vrtmrz merged 1 commit into
mainfrom
perf/create-chunks-buffer-handoff

Conversation

@vrtmrz

@vrtmrz vrtmrz commented Nov 19, 2026

Copy link
Copy Markdown
Owner

Pass prepared Chunk batches directly to the writer to avoid copying the array on every flush.

Start a new batch before awaiting the write. The writer receives the completed array and the next batch starts empty.

Verification

  • Passed the Commonlib type check.
  • Passed 281 focused tests across the entry manager, layered Chunk manager, and database write layer.

@vrtmrz
vrtmrz merged commit 9c4391d into main Nov 20, 2026
3 checks passed
@vrtmrz
vrtmrz deleted the perf/create-chunks-buffer-handoff branch November 20, 2026 10:29
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