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

pre-allocate string for table writer #345

Merged
merged 1 commit into from
Mar 5, 2024

Conversation

SteveL-MSFT
Copy link
Member

PR Summary

Pre-allocate the size of the string if we know the length to avoid unnecessary re-allocations as the string gets built.

@SteveL-MSFT SteveL-MSFT requested a review from tgauth March 5, 2024 19:04
@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue Mar 5, 2024
Merged via the queue into PowerShell:main with commit ef6b663 Mar 5, 2024
4 checks passed
@SteveL-MSFT SteveL-MSFT deleted the table-string branch March 5, 2024 21:19
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