Commit c707a8df authored by Petr Špaček's avatar Petr Špaček

WIP: zone2pickle memory optimization

parent 2ef686c4
......@@ -70,8 +70,9 @@ class ZoneExtractor():
if self.buf_owner_str != line_owner_str:
self.buf_owner_str = line_owner_str
# cache parsed owner name
self.buf_owner = self.names[line_owner_str]
# do not cache parsed owner name in dict, it is thrown away
# after few zone file lines
self.buf_owner =
elif self.buf_rdtype_str != line_rdtype:
# do not call finish twice!
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