Skip to content

Commit f6f286a

Browse files
committed
AggressiveInlining
1 parent 68b0d2a commit f6f286a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WebApiClientCore/Internals/ValueStringBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public ValueStringBuilder Append(ReadOnlySpan<char> value)
6868
/// 扩容
6969
/// </summary>
7070
/// <param name="newSize"></param>
71-
[MethodImpl(MethodImplOptions.NoInlining)]
71+
[MethodImpl(MethodImplOptions.AggressiveInlining)]
7272
private void Grow(int newSize)
7373
{
7474
var size = Math.Max(newSize, this.chars.Length * 2);

0 commit comments

Comments
 (0)