Closed seiz1 closed 2 years ago
Accessing xml_element and then using getparent().getparent() seems to be slowing execution down significantly in bigger xml files. After refactoring the parsing speed is improved. Comparison of parsing time for 168549 xml objects:
xml_element
getparent().getparent()
Accessing
xml_element
and then usinggetparent().getparent()
seems to be slowing execution down significantly in bigger xml files. After refactoring the parsing speed is improved. Comparison of parsing time for 168549 xml objects: