Details
-
Improvement
-
Resolution: Fixed
-
Unknown
-
None
-
None
-
None
-
Not Needed
Description
EncodeToString internally creates a slice not an array and thus makes unnecessary allocation. Since we know exactly the size of the resulting hex, we can optimize the function by using an array.