mirror of
https://github.com/arnaucube/babyjubjub-ark.git
synced 2026-01-13 17:21:29 +01:00
Optimize point add & mul_scalar methods
(On a Intel(R) Core(TM) i7-8705G CPU @ 3.10GHz, with 32 GB of RAM) - before: ``` add time: [53.447 us 53.467 us 53.492 us] mul_scalar time: [121.19 ms 121.22 ms 121.25 ms] ``` - current: ``` add time: [317.34 ns 317.44 ns 317.54 ns] mul_scalar time: [131.05 us 131.28 us 131.58 us] ``` Which is `168x` improvement for `add`, and `923x` improvement for `mul_scalar`.
This commit is contained in:
842
src/lib.rs
842
src/lib.rs
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user