2 things
1) I would probably pull the path2id() check out of the loop with a "root_id = tree.path2id('')" that way it doesn't have to happen over and over. 2) Could you submit this as a merge proposal rather than just a patch?
2 things
1) I would probably pull the path2id() check out of the loop with a "root_id = tree.path2id('')" that way it doesn't have
to happen over and over.
2) Could you submit this as a merge proposal rather than just a patch?