summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomasz Kramkowski <tomasz@kramkow.ski>2022-12-14 13:28:47 +0000
committerTomasz Kramkowski <tomasz@kramkow.ski>2022-12-14 13:28:47 +0000
commit9155f3fbeb4b8abae995e22782b25de4d162e010 (patch)
tree49599dfdcf6d480980174b05c9b7c11389a1a0b0
parent9f8603a3e116d590d68c9f1cb6764e2f60438e5c (diff)
downloadaoc2022-9155f3fbeb4b8abae995e22782b25de4d162e010.tar.gz
aoc2022-9155f3fbeb4b8abae995e22782b25de4d162e010.tar.xz
aoc2022-9155f3fbeb4b8abae995e22782b25de4d162e010.zip
14 remove profiling code
-rw-r--r--14.py2
1 files changed, 0 insertions, 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())