Skip to content

Commit

Permalink
Remove pinning from StringBuilder (#64405)
Browse files Browse the repository at this point in the history
Switch from pointers to refs to avoid pinning the inputs.

As part of this, I also consolidated the fast-path that was there specifically for string inputs to also apply to span inputs, char arrays, pointers, etc.
  • Loading branch information
stephentoub committed Jan 28, 2022
1 parent d06d9c9 commit 315fb41
Showing 1 changed file with 164 additions and 244 deletions.
Loading

0 comments on commit 315fb41

Please sign in to comment.