Documentation

This commit is contained in:
Christian Reitter 2025-07-07 20:36:02 +02:00
parent bfd49c0ade
commit f060264ede
1 changed files with 3 additions and 1 deletions

View File

@ -47,6 +47,7 @@ fn main() {
// TODO highly experimental
// non-standard optimization
// slow compilation
// TODO this changes with the next secp256k1 version 0.11
base_config.define("ECMULT_GEN_PREC_BITS", Some("16"));
// ECMULT_WINDOW_SIZE has only a minor performance impact
@ -104,6 +105,7 @@ fn main() {
base_config.define("OPTIMIZE_UNSAFE_SKIP_MASKING", Some(""));
// This is slower, and removed in a future secp256k1 code version
// TODO only makes a difference in two code locations?
// base_config.define("USE_ASM_X86_64", Some(""));
// -O3 seems to be better than -O2 for clang