From: Joe Wreschnig Date: Sat, 13 Jun 2020 15:32:04 +0000 (+0200) Subject: Improve Error.Error() performance X-Git-Url: https://git.korewanetadesu.com/?p=go-signalcontext.git;a=commitdiff_plain;h=6a94085eceddccaf258cb8e384fa4aa6d428aa13;hp=6a94085eceddccaf258cb8e384fa4aa6d428aa13 Improve Error.Error() performance ‘fmt’ is unnecessary to concatenate two strings. `benchcmp` says: BenchmarkError-4 226 65.8 -70.88% ---