mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-14 13:52:36 -03:00
Tweak precomputed table size for G
This commit is contained in:
parent
9d64145781
commit
3ce74b1266
1 changed files with 5 additions and 3 deletions
|
@ -15,11 +15,13 @@
|
||||||
#define WINDOW_A 5
|
#define WINDOW_A 5
|
||||||
|
|
||||||
/** larger numbers may result in slightly better performance, at the cost of
|
/** larger numbers may result in slightly better performance, at the cost of
|
||||||
exponentially larger precomputed tables. WINDOW_G == 14 results in 640 KiB. */
|
exponentially larger precomputed tables. */
|
||||||
#ifdef USE_ENDOMORPHISM
|
#ifdef USE_ENDOMORPHISM
|
||||||
#define WINDOW_G 14
|
/** Two tables for window size 15: 1.375 MiB. */
|
||||||
#else
|
|
||||||
#define WINDOW_G 15
|
#define WINDOW_G 15
|
||||||
|
#else
|
||||||
|
/** One table for window size 16: 1.375 MiB. */
|
||||||
|
#define WINDOW_G 16
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/** Fill a table 'pre' with precomputed odd multiples of a. W determines the size of the table.
|
/** Fill a table 'pre' with precomputed odd multiples of a. W determines the size of the table.
|
||||||
|
|
Loading…
Reference in a new issue