forked from mr-tron/base58
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added a port of the base58 Fast decoding and Trivial decoding
The port is based off of the github.com/trezor/trezor-crypto/base58.c code. There can be some more optimizations around buffering but it works with the tests. Updated the tests to test Fast and Trivial decode as well Updated the benchmarks to include decoding (seems to be just over a 6x improvement)
- Loading branch information
Nika Jones
committed
Aug 19, 2017
1 parent
9906b57
commit 43b5950
Showing
2 changed files
with
203 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@njones this got addressed in mr-tron#14
Would appreciate if you give it a look along with everyone else: while all tests pass (plus extra tests in ipfs) I am still paranoid that something got over-done
Thanks!