project structure update
This commit is contained in:
parent
2429d7a4dd
commit
2744cf76dd
11
Cargo.toml
11
Cargo.toml
@ -5,6 +5,8 @@ edition = "2024"
|
|||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
criterion = { version = "0.7", features = ["html_reports"] }
|
criterion = { version = "0.7", features = ["html_reports"] }
|
||||||
|
[build]
|
||||||
|
rustflags = ["-C", "target-cpu=native"]
|
||||||
|
|
||||||
[[bench]]
|
[[bench]]
|
||||||
name = "bench_aoc_1"
|
name = "bench_aoc_1"
|
||||||
@ -16,5 +18,12 @@ harness = false
|
|||||||
[[bench]]
|
[[bench]]
|
||||||
name = "bench_aoc_3"
|
name = "bench_aoc_3"
|
||||||
harness = false
|
harness = false
|
||||||
|
[[bench]]
|
||||||
|
name = "bench_aoc_4"
|
||||||
|
harness = false
|
||||||
[dependencies]
|
[dependencies]
|
||||||
strength_reduce = "0.2.4"
|
[profile.bench]
|
||||||
|
opt-level = 3
|
||||||
|
lto = "fat" # "Link Time Optimization" - Critical for micro-benchmarks
|
||||||
|
codegen-units = 1 # Slows compile time, but makes faster code
|
||||||
|
panic = "abort" # Removes stack unwinding checks (faster)
|
||||||
|
|||||||
@ -1 +1,2 @@
|
|||||||
|
#![feature(portable_simd)]
|
||||||
pub mod aoc;
|
pub mod aoc;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user