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 6f3640b commit 2dc7d4eCopy full SHA for 2dc7d4e
src/Tests/Tests.Benchmarking/BulkDeserializationBenchmarkTests.cs
@@ -7,10 +7,6 @@
7
using Newtonsoft.Json;
8
using Tests.Benchmarking.Framework;
9
using Tests.Core.Client;
10
-#if !DOTNETCORE
11
-using System.Buffers;
12
-
13
-#endif
14
15
namespace Tests.Benchmarking
16
{
@@ -117,15 +113,5 @@ public BulkResponse MediumResponse()
117
113
.ToArray()
118
114
};
119
115
120
121
- public class JsonArrayPool : IArrayPool<char>
122
- {
123
- public static readonly JsonArrayPool Instance = new JsonArrayPool();
124
125
- public char[] Rent(int minimumLength) => ArrayPool<char>.Shared.Rent(minimumLength);
126
127
- public void Return(char[] array) => ArrayPool<char>.Shared.Return(array);
128
- }
129
130
116
}
131
0 commit comments