Cargo.toml: profiles

This commit is contained in:
2025-02-18 22:41:58 -05:00
parent 52179c040b
commit 6bda402a12

View File

@@ -13,12 +13,17 @@ path = "src/main.rs"
[profile.release] [profile.release]
# increases perf at the cost of compile-time
codegen-units = 1 # ~4-5% perf bump
lto = true
# incremental = false
# overflow-checks = false
[profile.profile]
inherits = "release"
# for profiling # for profiling
debug = true debug = true
# increases perf at the cost of compile-time
codegen-units = 1
lto = true
[features] [features]
bitvec = [ "dep:bitvec" ] bitvec = [ "dep:bitvec" ]