-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrate
hashtree
for better hashing performance (#5188)
status-im/nim-ssz-serialization#35 brings in https://github.com/prysmaticlabs/hashtree as a supported backend for SHA256, giving a nice little performance boost to all hash_tree_root calls on supported platforms / compilers. Expected gains are on the order of 30% which in the case of a replayed state nets us 0.2-0.3s improvement. More about this design here: https://hackmd.io/@potuz/BJyrx9DOF - kudos to @potuz for this excellent library!
- Loading branch information
1 parent
9e8d2e7
commit ab30efa
Showing
2 changed files
with
6 additions
and
2 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
Submodule nim-ssz-serialization
updated
15 files
+8 −1 | .github/workflows/ci.yml | |
+1 −0 | .gitignore | |
+3 −0 | .gitmodules | |
+1 −0 | nim.cfg | |
+11 −2 | ssz_serialization.nimble | |
+1 −1 | ssz_serialization/codec.nim | |
+155 −0 | ssz_serialization/digest.nim | |
+2 −104 | ssz_serialization/merkleization.nim | |
+14 −10 | ssz_serialization/proofs.nim | |
+25 −0 | tests/fuzzing/fuzz_hashtree.nim | |
+7 −0 | tests/fuzzing/nim.cfg | |
+2 −7 | tests/test_merkleization.nim | |
+1 −3 | tests/test_merkleization_types.nim | |
+1 −3 | tests/test_proofs.nim | |
+1 −0 | vendor/hashtree |