We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 52abcb4 commit 0995d08Copy full SHA for 0995d08
README.md
@@ -11,7 +11,7 @@
11
12
</h3>
13
14
-Collect the resulting string without allocating memory.
+Assembling a string with a pre-known resulting string length: uses 50% less memory then StringBuilder.
15
16
## Benchmark:
17
@@ -51,4 +51,4 @@ Collect the resulting string without allocating memory.
51
| Class.StringCreator | 500000 | 3,534,275.66 ns | 0.95 | 1000141 B | 0.50 |
52
| | | | | | |
53
| **StringBuilder** | **1071741** | **7,858,668.65 ns** | **1.00** | **4287176 B** | **1.00** |
54
-| Class.StringCreator | 1071741 | 7,359,583.80 ns | 0.94 | 2143628 B | 0.50 |
+| Class.StringCreator | 1071741 | 7,359,583.80 ns | 0.94 | 2143628 B | 0.50 |
0 commit comments