Commit 86bf8ca7 authored by Guillaume Seguin's avatar Guillaume Seguin

12% memory footprint optimization of gcoder.Line

parent de024275
......@@ -66,6 +66,7 @@ class Line(object):
code = bit[0]
if code in gcode_parsed_args and len(bit) > 1:
setattr(self, code, float(bit[1:]))
del self.split_raw
def __repr__(self):
return self.raw
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment