dstepanov-yadro
pushed to feat/refactor-signservicemessage at dstepanov-yadro/frostfs-api-go
2023-03-07 10:05:35 +00:00
7f9809b7eb
[#3] signature: Drop marshaller wrapper pool
dstepanov-yadro
pushed to feat/refactor-signservicemessage at dstepanov-yadro/frostfs-api-go
2023-03-07 09:59:41 +00:00
f2fb28bb38
[#3] signature: Drop buffer wrapper
Refactor sign/verify message
Speaking of buffers pool, do we need a local benchmark for this?
There are two benchmarks already (sign and verify) that use pool.
Refactor sign/verify message
Don't understand you. StableMarshalerWrapper is used to convert stableMarshaller interface to DataSource integface.
Refactor sign/verify message
This makes easier to create new buffer here:
if cap(result.buf) < size {
result.buf = make([]byte, size)
It just creates a new slice in case of current capacity does not meet the…
Refactor sign/verify message
dstepanov-yadro
created branch feat/refactor-signservicemessage in dstepanov-yadro/frostfs-api-go
2023-03-07 07:30:29 +00:00
dstepanov-yadro
pushed to feat/refactor-signservicemessage at dstepanov-yadro/frostfs-api-go
2023-03-07 07:30:29 +00:00
af06ff25d2
[#3] signature: Use pool for buffers
bfd5ac6e14
[#3] signature: Use pool for wrappers