summaryrefslogtreecommitdiff
path: root/lib/stitches
diff options
context:
space:
mode:
authorLex Neva <github.com@lexneva.name>2023-05-29 21:45:31 -0400
committerKaalleen <reni@allenka.de>2023-07-01 08:23:46 +0200
commitec68c17a05aa4a3d75fcab069a3b065f473574af (patch)
tree99ae3b3d17897e171224f9c10265a4ef8e580632 /lib/stitches
parent12565051880a2527af1eccaa8c876b9287934dea (diff)
remove debug timing in frequently-run functions
Diffstat (limited to 'lib/stitches')
-rw-r--r--lib/stitches/running_stitch.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/stitches/running_stitch.py b/lib/stitches/running_stitch.py
index 50e3be5f..29e2547d 100644
--- a/lib/stitches/running_stitch.py
+++ b/lib/stitches/running_stitch.py
@@ -11,7 +11,6 @@ from copy import copy
import numpy as np
from shapely import geometry as shgeo
-from ..debug import debug
from ..utils import prng
from ..utils.geometry import Point
from ..utils.threading import check_stop_flag
@@ -248,7 +247,6 @@ def path_to_curves(points: typing.List[Point], min_len: float):
return curves
-@debug.time
def running_stitch(points, stitch_length, tolerance):
# Turn a continuous path into a running stitch.
stitches = [points[0]]