Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid an additional allocation for the encoding
We can pre-allocate a large-enough buffer, and then in-place encode the bits to avoid the allocation done by hex.EncodeToString(). Effectively this shaves a couple of ns off the generation:
- Loading branch information