Compare commits

..

2 Commits

Author SHA1 Message Date
498680aaca project structure update 2025-12-04 16:42:13 +01:00
2744cf76dd project structure update 2025-12-04 16:42:04 +01:00
3 changed files with 12 additions and 1 deletions

View File

@ -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)

View File

@ -1,3 +1,4 @@
pub mod aoc_1; pub mod aoc_1;
pub mod aoc_2; pub mod aoc_2;
pub mod aoc_3; pub mod aoc_3;
pub mod aoc_4;

View File

@ -1 +1,2 @@
#![feature(portable_simd)]
pub mod aoc; pub mod aoc;