Documentation
This commit is contained in:
parent
bfd49c0ade
commit
f060264ede
|
@ -47,6 +47,7 @@ fn main() {
|
||||||
// TODO highly experimental
|
// TODO highly experimental
|
||||||
// non-standard optimization
|
// non-standard optimization
|
||||||
// slow compilation
|
// slow compilation
|
||||||
|
// TODO this changes with the next secp256k1 version 0.11
|
||||||
base_config.define("ECMULT_GEN_PREC_BITS", Some("16"));
|
base_config.define("ECMULT_GEN_PREC_BITS", Some("16"));
|
||||||
|
|
||||||
// ECMULT_WINDOW_SIZE has only a minor performance impact
|
// ECMULT_WINDOW_SIZE has only a minor performance impact
|
||||||
|
@ -88,7 +89,7 @@ fn main() {
|
||||||
// relevant:
|
// relevant:
|
||||||
// RUSTFLAGS="-Clink-args=-fuse-ld=lld"
|
// RUSTFLAGS="-Clink-args=-fuse-ld=lld"
|
||||||
// installing the lld tool package
|
// installing the lld tool package
|
||||||
// for lto=thin, there are problems with "Opaque pointers are only supported in -opaque-pointers mode"
|
// for lto=thin, there are problems with "Opaque pointers are only supported in -opaque-pointers mode"
|
||||||
// for lto=fat, there are some problems with "error: undefined symbol"
|
// for lto=fat, there are some problems with "error: undefined symbol"
|
||||||
// base_config.flag("-flto=thin");
|
// base_config.flag("-flto=thin");
|
||||||
// base_config.flag("-flto=fat");
|
// base_config.flag("-flto=fat");
|
||||||
|
@ -104,6 +105,7 @@ fn main() {
|
||||||
base_config.define("OPTIMIZE_UNSAFE_SKIP_MASKING", Some(""));
|
base_config.define("OPTIMIZE_UNSAFE_SKIP_MASKING", Some(""));
|
||||||
|
|
||||||
// This is slower, and removed in a future secp256k1 code version
|
// 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(""));
|
// base_config.define("USE_ASM_X86_64", Some(""));
|
||||||
|
|
||||||
// -O3 seems to be better than -O2 for clang
|
// -O3 seems to be better than -O2 for clang
|
||||||
|
|
Loading…
Reference in New Issue