Skip to content

Commit

Permalink
readme: mention precomputes trade-off
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Feb 7, 2025
1 parent abb38db commit 7d10006
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -764,6 +764,11 @@ NIST prohibits classical cryptography (RSA, DSA, ECDSA, ECDH) [after 2035](https

## Speed

During first call of most methods, `init` is done, which calculates base point precomputes.
The method consumes 20MB+ of memory and takes some time.
You can adjust how many precomputes are generated,
by using `_setWindowSize`. Check out the source code.

Benchmark results on Apple M2 with node v22:

```
Expand Down

0 comments on commit 7d10006

Please sign in to comment.