Skip to content

Optimize setUnitNoOverflow()#3071

Merged
kylekatarnls merged 1 commit into
briannesbitt:masterfrom
takaram:reduce-clone
Oct 7, 2024
Merged

Optimize setUnitNoOverflow()#3071
kylekatarnls merged 1 commit into
briannesbitt:masterfrom
takaram:reduce-clone

Conversation

@takaram

@takaram takaram commented Oct 3, 2024

Copy link
Copy Markdown
Contributor

This PR reduces avoidMutation() calls.

@kylekatarnls

Copy link
Copy Markdown
Collaborator

Sounds good 👍 I'm doing few more tests to check we don't have any mutation side effect for neither Carbon nor CarbonImmutable

@kylekatarnls kylekatarnls self-requested a review October 4, 2024 14:40
@kylekatarnls kylekatarnls added this to the 3.8.1 milestone Oct 4, 2024
@kylekatarnls kylekatarnls merged commit cda6063 into briannesbitt:master Oct 7, 2024
@takaram takaram deleted the reduce-clone branch October 7, 2024 08:38
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.

2 participants