From 9155f3fbeb4b8abae995e22782b25de4d162e010 Mon Sep 17 00:00:00 2001 From: Tomasz Kramkowski Date: Wed, 14 Dec 2022 13:28:47 +0000 Subject: 14 remove profiling code --- 14.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/14.py b/14.py index f74e30b..76c45ed 100644 --- a/14.py +++ b/14.py @@ -1,7 +1,6 @@ from utils import open_day, sliding_window from enum import Enum, auto from itertools import count -import cProfile def display(sandbox, minx, miny, maxx, maxy): for y in range(miny, maxy + 1): @@ -91,5 +90,4 @@ height = floory - sandbox.source[1] for x in range(500 - height, 500 + height + 1): sandbox[x, floory] = Tile.WALL -# cProfile.run('sandbox.simulate()') print(p1 + sandbox.simulate()) -- cgit v1.2.3-54-g00ecf