Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retain existing array in RepeatedField.Clear #10508

Merged
merged 1 commit into from
Sep 7, 2022

Conversation

jskeet
Copy link
Contributor

@jskeet jskeet commented Sep 7, 2022

Fixes #7828.

(Also tweaks the comment for Capacity.)

Fixes protocolbuffers#7828.

(Also tweaks the comment for Capacity.)
Copy link

@amanda-tarafa amanda-tarafa left a comment

Choose a reason for hiding this comment

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

LGTM

@jskeet jskeet requested a review from fowles September 7, 2022 13:20
@jskeet
Copy link
Contributor Author

jskeet commented Sep 7, 2022

@fowles: Please could you approve and merge (assuming this does indeed seem reasonable to you)?

@fowles fowles merged commit ad6cd54 into protocolbuffers:main Sep 7, 2022
@CodeBlanch
Copy link

@jskeet Hey I don't see this change in latest NuGet release tag (3.21.7) are you able to provide any hint on when it might drop?

@jskeet
Copy link
Contributor Author

jskeet commented Oct 1, 2022

@CodeBlanch: I would expect it to be in 3.22.0; I don't have a timeframe for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[C#] Enable pooling of messages with large RepeatedFields
5 participants