Closed mrk-its closed 6 months ago
https://github.com/mrk-its/aoc2022/tree/new_rust/day10 produces bad output when compiled in debug mode:
$ cargo run -p day10 Finished `dev` profile [optimized] target(s) in 0.05s Running `mos-sim --cycles target/mos-sim-none/debug/day10` ███ ██ █ ███ ███ ████ ██ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ███ █ █ █ █ █ ███ █ ██ █ ███ █ █ █ ████ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ █ ███ ████ █ █ ███ ████ █ █ ██ PART1: 74420 593680 cycles
Release mode:
cargo run -p day10 --release PART1: 14420 470272 cycles
cannot reproduce now
https://github.com/mrk-its/aoc2022/tree/new_rust/day10 produces bad output when compiled in debug mode:
Release mode: