push
github
Increase performance with custom node class (#1) * [xml]: add write_to message for less memory usage when writing to file * [xml]: Add custom node class and add to xml writer * [xml]: Remove use of lxml.builder * [writer]: change node.find to use recursion * [writer]: fix self return * [writer]: undo recursion change * [xml]: add write_to method for xml writer * [writer]: move writers into subpackage * [grammar]: add iterator for tokens * [misc]: formatting * [tokens]: change match to use generator for pattern matching * [node]: move path functions into class and fix pattern * [writer]: Adjust writer to changes in node class * [tokens]: change get_patterns to generator * [statement]: change order for common data types * [statement]: fix if statements * [misc]: Add performance optimizations from copilot * [writer]: Add slim xml writer * Revert "[statement]: fix if statements" This reverts commit d6fea2567. * Revert "[misc]: Add performance optimizations from copilot" This reverts commit c13e8e93b. * [fix]: Changes by copilot * [writers]: add slixml writer to choice * [xml]: add fixes to slixml writer * [slixml]: change add element to append text to current element * [context]: change var names to be more descriptive * [writer]: change leave_path to leave_paths * [writer]: fix yaml writer * [tokens]: remove unnecessary abstract functions * [token]: change for loop to generator * [match/when]: load match/find func before loop * [MultiExpStatement]: fix from_string * [node]: Remove useless iter_children function * [node]: Add __eq__() and fix bug in get() * [node]; switch to saving children in dict * [node]: fix find bug * [node]: undo changing comparison * [node]: change find() to use filter() * [writer]: performance changes * [node]: localize parse func * [node]: add function to return sorted children * [tests]: chango comparison strategy * Reduce c... (continued)
1154 of 1298 relevant lines covered (88.91%)
0.89 hits per line