Skip to content

Commit 946f2c3

Browse files
committed
Update to latest blake256 release.
This updates the module to use the latest release of blake256 which includes a notable performance enhancement that ultimately results in around a 15-20% performance improvement for check decoding and encoding. name old time/op new time/op delta -------------------------------------------------------------------- CheckDecode 830ns ± 1% 671ns ± 1% -19.17% (p=0.000 n=10+9) CheckEncode 1.14µs ± 1% 0.96µs ± 2% -15.23% (p=0.000 n=10+10)
1 parent 7d867af commit 946f2c3

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ module github.com/decred/base58
22

33
go 1.17
44

5-
require github.com/decred/dcrd/crypto/blake256 v1.0.1
5+
require github.com/decred/dcrd/crypto/blake256 v1.1.0

go.sum

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
github.com/decred/dcrd/crypto/blake256 v1.0.0 h1:/8DMNYp9SGi5f0w7uCm6d6M4OU2rGFK09Y2A4Xv7EE0=
2-
github.com/decred/dcrd/crypto/blake256 v1.0.0/go.mod h1:sQl2p6Y26YV+ZOcSTP6thNdn47hh8kt6rqSlvmrXFAc=
3-
github.com/decred/dcrd/crypto/blake256 v1.0.1 h1:7PltbUIQB7u/FfZ39+DGa/ShuMyJ5ilcvdfma9wOH6Y=
4-
github.com/decred/dcrd/crypto/blake256 v1.0.1/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo=
1+
github.com/decred/dcrd/crypto/blake256 v1.1.0 h1:zPMNGQCm0g4QTY27fOCorQW7EryeQ/U0x++OzVrdms8=
2+
github.com/decred/dcrd/crypto/blake256 v1.1.0/go.mod h1:2OfgNZ5wDpcsFmHmCK5gZTPcCXqlm2ArzUIkw9czNJo=

0 commit comments

Comments
 (0)