Skip to content

Commit

Permalink
Switch to thin LTO
Browse files Browse the repository at this point in the history
This has about a 25% improvement on release compilation times,
at the cost of a <1% runtime performance impact.
  • Loading branch information
shssoichiro committed Jul 21, 2020
1 parent 3797df0 commit 9d8028e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,4 @@ path = "src/lib.rs"
[profile.dev]
opt-level = 2
[profile.release]
lto = true
lto = "thin"

0 comments on commit 9d8028e

Please sign in to comment.