mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-01-30 18:42:15 +00:00
Optimise for speed instead of size
The WASM binary doubles in size to 2MB after this change. This is still dwarfed by the size of the spend parameters (46MB), and transaction creation time decreases by 20% in exchange.
This commit is contained in:
parent
d688445bb1
commit
665ff5ad26
@ -68,4 +68,4 @@ wasm-bindgen-test = "0.2"
|
||||
|
||||
[profile.release]
|
||||
# Tell `rustc` to optimize for small code size.
|
||||
opt-level = "s"
|
||||
# opt-level = "s"
|
||||
|
Loading…
Reference in New Issue
Block a user