Skip to content

Comments

Improve merge_apply_inserts#4310

Open
Centril wants to merge 2 commits intomasterfrom
centril/better-merge_apply_inserts
Open

Improve merge_apply_inserts#4310
Centril wants to merge 2 commits intomasterfrom
centril/better-merge_apply_inserts

Conversation

@Centril
Copy link
Contributor

@Centril Centril commented Feb 16, 2026

Description of Changes

This recovers a bit of lost performance from event tables by:

  • avoiding putting the row: ProductValue in a vector before merging into the committed state.
  • directly constructing Arc<[ProductValue]>

This also shaves off 8 bytes from ReplicaCtx.

API and ABI breaking changes

None

Expected complexity level and risk

2?

Testing

Covered by existing tests.

@Centril Centril changed the title Centril/better merge apply inserts Improve merge_apply_inserts Feb 16, 2026
@Centril Centril requested a review from gefjon February 16, 2026 20:59
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