mirror of
https://github.com/RussellChamp/advent-of-code-2024-rust.git
synced 2026-10-27 23:52:29 +00:00
update a few of the benchmarks
This commit is contained in:
1 parent
a037d203af
commit
6502e63efe
4 files changed
+16
-9
No files matched your search
+2
-2
@@ -27,7 +27,7 @@ pub fn part_one(input: &str) -> Option<u32> {
|
||||
};
|
||||
|
||||
loop {
|
||||
println!("At {:?} going {:?}", pos, dir);
|
||||
// println!("At {:?} going {:?}", pos, dir);
|
||||
|
||||
let new_pos = (pos.0 + dir.0, pos.1 + dir.1);
|
||||
if !is_valid_position(new_pos) { break }
|
||||
@@ -46,7 +46,7 @@ pub fn part_one(input: &str) -> Option<u32> {
|
||||
}
|
||||
}
|
||||
|
||||
println!("Made it out!");
|
||||
// println!("Made it out!");
|
||||
|
||||
Some(count_spaces(visited) as u32)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user