[#38] 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>
pull/38/head
Dmitrii Stepanov 2023-06-02 17:25:15 +03:00
parent 62edd68f47
commit 68021b910a
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ package signature
import "sync"
const poolSliceMaxSize = 64 * 1024
const poolSliceMaxSize = 128 * 1024
type buffer struct {
data []byte