Closed jrick closed 1 month ago
The buffers written to during signature creation and validation have a known constant size. Preallocate these buffers to reduce the total number of allocations that are needed as fmt.Sprintf writes to the buffer.
The buffers written to during signature creation and validation have a known constant size. Preallocate these buffers to reduce the total number of allocations that are needed as fmt.Sprintf writes to the buffer.