String module spannification - #20358
Conversation
❗ Release notes requiredYou can open this PR in browser to add release notes: open in github.dev Caution No release notes found for the changed paths (see table below). Please make sure to add an entry with an informative description of the change as well as link to this pull request, issue and language suggestion if applicable. Release notes for this repository are based on Keep A Changelog format. The following format is recommended for this repository: `* . (PR #XXXXX)`
If you believe that release notes are not necessary for this PR, please add NO_RELEASE_NOTES label to the pull request.
|
|
The best I could come up with after a few attempts is swapping out the intermediate array for a Tried some "clever" approaches with Honestly not sure how much more clever it can get outside a careful |
…ations via String.Create + Span
…g stack allocation when possible
8634588 to
d4c3528
Compare
Description
Some String module perf improvements (heap allocation reduction) on .NET Standard 2.1+
Part of #20283
Checklist