fix: Improves STArray and SpanWriter with packets (#1736)

This commit is contained in:
Kamron Batman 2024-04-21 20:44:25 -07:00 committed by GitHub
parent 44df304575
commit 3a27ab8810
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ namespace Server.Buffers;
*/
public class STArrayPool<T> : ArrayPool<T>
{
private const int StackArraySize = 8;
private const int StackArraySize = 32;
private const int BucketCount = 27; // SelectBucketIndex(1024 * 1024 * 1024 + 1)
private static readonly STArrayPool<T> _shared = new();