[#37] signature: Increase pool max object size

According to the results of profiling, objects with a size of 72KB
are mainly allocated.

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
Dmitrii Stepanov 2023-06-02 17:15:54 +03:00
parent c3f61e7c85
commit 4cb0068dde

View file

@ -2,7 +2,7 @@ package signature
import "sync"
const poolSliceMaxSize = 64 * 1024
const poolSliceMaxSize = 128 * 1024
var buffersPool = sync.Pool{
New: func() any {