commit 7b933c5cbef22baf14de28d781bb2d6e0e0d2852 parent 5cdf049c8cef9b85f2fe770d010fd681632297f8 Author: Eamon Caddigan <eamon.caddigan@gmail.com> Date: Fri, 3 Dec 2021 16:05:43 -0500 Forgot to update the timing info (it's slow, folks) Diffstat:
M | day03_part2.py | | | 2 | +- |
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/day03_part2.py b/day03_part2.py @@ -53,7 +53,7 @@ def calculate_life_support_rating(oxygen_generator_rating, co2_scrubber_rating): def solve_puzzle(input_string): """Return the numeric solution to the puzzle""" - # 5.47 ms ± 43.6 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) + # 13.3 ms ± 131 µs per loop (mean ± std. dev. of 7 runs, 100 loops each) return calculate_life_support_rating( *calculate_oxygen_co2( split_report_bits(