mirror of
https://github.com/Qortal/piratewallet-light-cli.git
synced 2025-07-29 11:21:26 +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:
@@ -68,4 +68,4 @@ wasm-bindgen-test = "0.2"
|
|||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
# Tell `rustc` to optimize for small code size.
|
# Tell `rustc` to optimize for small code size.
|
||||||
opt-level = "s"
|
# opt-level = "s"
|
||||||
|
Reference in New Issue
Block a user