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

Prealloc msgs in multierr.Error #1209

Merged
merged 2 commits into from
Jan 2, 2025

Conversation

apocelipes
Copy link
Contributor

"msgs"'s length is known, preallocate it can save memories.

@CLAassistant
Copy link

CLAassistant commented Dec 24, 2024

CLA assistant check
All committers have signed the CLA.

@rodaine rodaine enabled auto-merge (squash) January 2, 2025 19:27
@rodaine rodaine added Enhancement Extend or improve functionality Go Go language support labels Jan 2, 2025
@rodaine rodaine merged commit c220710 into bufbuild:main Jan 2, 2025
4 checks passed
@apocelipes apocelipes deleted the feat-prealloc-slice branch January 3, 2025 01:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Extend or improve functionality Go Go language support
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants