This made the code so fast, that the `board` benchmark became completely useless. So that benchmark was removed. Overall, we're looking at a futher 20% performance increase in `future_moves`
46 lines
804 B
TOML
46 lines
804 B
TOML
[package]
|
|
name = "othello"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
|
|
[lib]
|
|
name = "othello"
|
|
path = "src/lib.rs"
|
|
|
|
[[bin]]
|
|
name = "othello_game"
|
|
path = "src/main.rs"
|
|
|
|
[profile.release]
|
|
# increases perf at the cost of compile-time
|
|
codegen-units = 1 # ~4-5% perf bump
|
|
lto = true
|
|
|
|
[profile.profile]
|
|
inherits = "release"
|
|
# for profiling
|
|
debug = true
|
|
|
|
[dependencies]
|
|
arrayvec = "0.7"
|
|
const_fn = "0.4"
|
|
either = "1.13"
|
|
indicatif = "0.17"
|
|
nohash-hasher = "0.2"
|
|
num = "0.4"
|
|
rand = "0.9"
|
|
rayon = "1.10.0"
|
|
skillratings = "0.27.1"
|
|
static_assertions = "1.1"
|
|
|
|
[dev-dependencies]
|
|
criterion = { version = "0.5", features = [ "html_reports" ] }
|
|
|
|
[[bench]]
|
|
name = "future_children"
|
|
harness = false
|
|
|
|
[lints.rust]
|
|
# fix weird warnings about `test` not being expected
|
|
unexpected_cfgs = { level = "allow", check-cfg = ['cfg(test)'] }
|