Skip to content

Commit 890ed9f

Browse files
authored
feat: enable opt-level-3 (#898)
In the EVM at least, this leads to a 60% speedup. Of course, that's a pathological case, but still. In terms of binary size, this increases the miner (largest) binary from ~1.2 to ~1.4MiB, but that's not a huge issue.
1 parent 6c081a9 commit 890ed9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ inherits = "release"
9292
panic = "unwind"
9393
overflow-checks = true
9494
lto = "thin"
95-
opt-level = "z"
95+
opt-level = 3
9696
strip = true
9797
codegen-units = 1
9898
incremental = false

0 commit comments

Comments
 (0)