Skip to content

Pass Reducer/ProcedureContext by reference#4203

Merged
Centril merged 3 commits intomasterfrom
centril/fix-2298
Feb 4, 2026
Merged

Pass Reducer/ProcedureContext by reference#4203
Centril merged 3 commits intomasterfrom
centril/fix-2298

Conversation

@Centril
Copy link
Contributor

@Centril Centril commented Feb 4, 2026

Description of Changes

Fixes #2298.

The general idea is to avoid moving around types that are 400+ bytes or so only to eventually pass them by reference.
Just pass them by ref as soon as possible instead.

API and ABI breaking changes

None

Expected complexity level and risk

1

Testing

Covered by existing tests.

@Centril Centril requested a review from coolreader18 February 4, 2026 18:11
Copy link
Collaborator

@coolreader18 coolreader18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense, LGTM

@Centril Centril enabled auto-merge February 4, 2026 18:39
@Centril Centril added this pull request to the merge queue Feb 4, 2026
Merged via the queue into master with commit d5dbcf7 Feb 4, 2026
28 of 29 checks passed
@Centril Centril deleted the centril/fix-2298 branch February 4, 2026 23:45
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.

Pass ReducerContext earlier by reference

2 participants