Open krisrs1128 opened 8 years ago
Right now, contains_node() in doi_utils.js does a full depth-first search to identify whether the tree contains a certain node. This is not necessary -- just return once the first matching node is found.
contains_node()
doi_utils.js
This same issue applies to contains_partial_match().
contains_partial_match()
Right now,
contains_node()
indoi_utils.js
does a full depth-first search to identify whether the tree contains a certain node. This is not necessary -- just return once the first matching node is found.