pull/24373/head
GitHubPang 2021-12-20 10:00:38 +08:00 committed by GitHub
parent 81c32afe46
commit 2967ba9e37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ This preceding example:
* Doesn't buffer the entire request body in a `StringBuilder` unless there aren't any newline characters.
* Doesn't call `Split` on the string.
However, there are still are a few issues:
However, there are still a few issues:
* If newline characters are sparse, much of the request body is buffered in the string.
* The code continues to create strings (`remainingString`) and adds them to the string buffer, which results in an extra allocation.