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:
2020-08-01 18:18:43 +02:00
parent 30218dc1f3
commit 2d94206899
3 changed files with 509 additions and 403 deletions

File diff suppressed because it is too large Load Diff