Permalink
Browse files

12% memory footprint optimization of gcoder.Line

  • Loading branch information...
iXce committed May 23, 2013
1 parent de02427 commit 86bf8ca7b0a630557375db4d3a3fb2b27a8df293
Showing with 1 addition and 0 deletions.
  1. +1 −0 printrun/gcoder.py
View
@@ -66,6 +66,7 @@ def parse_coordinates(self, imperial = False, force = False):
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

0 comments on commit 86bf8ca

Please sign in to comment.