Skip to content

Commit

Permalink
Remove pinning from StringBuilder
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 8766a1c commit a2742f9
Showing 1 changed file with 164 additions and 244 deletions.
Loading

0 comments on commit a2742f9

Please sign in to comment.