project structure update

This commit is contained in:
Martijn Gerritsen 2025-12-04 16:42:04 +01:00
parent 2429d7a4dd
commit 2744cf76dd
2 changed files with 11 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 +1,2 @@
#![feature(portable_simd)]
pub mod aoc; pub mod aoc;