why where these changed no one knows but past me
This commit is contained in:
@@ -11,3 +11,7 @@ repository.workspace = true
|
||||
nom = { workspace = true }
|
||||
itertools = {workspace = true }
|
||||
glam.workspace = true
|
||||
dhat = { workspace = true }
|
||||
|
||||
[features]
|
||||
dhat-heap = []
|
||||
|
||||
@@ -3,7 +3,14 @@
|
||||
use day_22::part1;
|
||||
use day_22::part2;
|
||||
|
||||
#[cfg(feature = "dhat-heap")]
|
||||
#[global_allocator]
|
||||
static ALLOC: dhat::Alloc = dhat::Alloc;
|
||||
|
||||
fn main() {
|
||||
#[cfg(feature = "dhat-heap")]
|
||||
let _profiler = dhat::Profiler::new_heap();
|
||||
|
||||
let input = include_str!("./input.txt");
|
||||
let part1_result = part1(input);
|
||||
println!("part 1: {part1_result}");
|
||||
|
||||
Reference in New Issue
Block a user