Details
-
Improvement
-
Status: Open
-
Trivial
-
Resolution: Unresolved
-
None
-
None
Description
See Mike's comment for potential optimization.
If you change this recursion to call schemaURIStringsForFullValidation (without the "1" suffix), this algorithm will be greatly improved because we expect tons of duplicates - so squeezing them out with the "distinct" recursively, as we aggregate up the tree, that call should pay dividends.