Skip to content

Conversation

@coolreader18
Copy link
Collaborator

@coolreader18 coolreader18 commented Jan 6, 2026

Description of Changes

#3538 added a uuid_counter field to ReducerCtx, which has no need to be public. Implementing ReducerCtx as a class allows us to encapsulate better, and lets us enumerate exactly the data that it needs to hold so that the runtime could possibly optimize it.

Expected complexity level and risk

1: straightforward switch

Testing

  • Automated testing is sufficient.

@coolreader18 coolreader18 force-pushed the noa/ts-reducerctx-class branch from cd8d023 to e60d129 Compare January 6, 2026 20:20
Copy link
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

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

No objection

@coolreader18 coolreader18 added this pull request to the merge queue Jan 7, 2026
Merged via the queue into master with commit e8f9079 Jan 7, 2026
27 checks passed
@coolreader18 coolreader18 deleted the noa/ts-reducerctx-class branch January 7, 2026 23:03
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.

3 participants