Skip to content

Prealloc msgs in multierr.Error#1209

Merged
rodaine merged 2 commits intobufbuild:mainfrom
apocelipes:feat-prealloc-slice
Jan 2, 2025
Merged

Prealloc msgs in multierr.Error#1209
rodaine merged 2 commits intobufbuild:mainfrom
apocelipes:feat-prealloc-slice

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
@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