mirror of
https://github.com/arnaucube/babyjubjub-rs.git
synced 2026-02-03 00:46:39 +01:00
Poseidon load static ref avoiding load each time
Benchmarks (On a Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz, with 32 GB of RAM): - Old: ``` sign time: [953.50 us 953.73 us 953.98 us] verify time: [832.24 us 832.38 us 832.52 us] ``` - New: ``` sign time: [559.84 us 568.41 us 576.26 us] verify time: [376.59 us 376.68 us 376.78 us] ```
This commit is contained in:
@@ -20,7 +20,7 @@ generic-array = "0.13.2"
|
||||
tiny-keccak = "1.5"
|
||||
rustc-hex = "1.0.0"
|
||||
mimc-rs = "0.0.2"
|
||||
poseidon-rs = "0.0.3"
|
||||
poseidon-rs = "0.0.4"
|
||||
arrayref = "0.3.5"
|
||||
lazy_static = "1.4.0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user