diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2022-12-14 13:28:47 +0000 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2022-12-14 13:28:47 +0000 |
commit | 9155f3fbeb4b8abae995e22782b25de4d162e010 (patch) | |
tree | 49599dfdcf6d480980174b05c9b7c11389a1a0b0 | |
parent | 9f8603a3e116d590d68c9f1cb6764e2f60438e5c (diff) | |
download | aoc2022-9155f3fbeb4b8abae995e22782b25de4d162e010.tar.gz aoc2022-9155f3fbeb4b8abae995e22782b25de4d162e010.tar.xz aoc2022-9155f3fbeb4b8abae995e22782b25de4d162e010.zip |
14 remove profiling code
-rw-r--r-- | 14.py | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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()) |