delete token generator after parsing, lowers the memory footprint for 10k files with a factor of 5, #102
This commit is contained in:
1 parent
de45c277c1
commit
35186629f0
1 file changed
+1
@@ -1269,6 +1269,7 @@ class PyFuzzyParser(object):
|
||||
|
||||
self.start_pos = self.module.start_pos
|
||||
self.module.end_pos = self.end_pos
|
||||
del self._gen
|
||||
|
||||
def __repr__(self):
|
||||
return "<%s: %s>" % (type(self).__name__, self.module)
|
||||
|
||||
Reference in new issue
Block a user