fix: Improves STArray and SpanWriter with packets (#1736)
This commit is contained in:
parent
44df304575
commit
3a27ab8810
2 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue