From 665ff5ad268ef0174e6ed28c4367820b5ae46e5f Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 20 Jun 2019 18:45:29 +0200 Subject: [PATCH] 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. --- zcash-client-backend-wasm/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zcash-client-backend-wasm/Cargo.toml b/zcash-client-backend-wasm/Cargo.toml index 9493e9a..1755140 100644 --- a/zcash-client-backend-wasm/Cargo.toml +++ b/zcash-client-backend-wasm/Cargo.toml @@ -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"