You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@daffodil.apache.org by "John Wass (Jira)" <ji...@apache.org> on 2020/12/23 18:39:00 UTC
[jira] [Updated] (DAFFODIL-2447) Optimize
schemaURIStringsForFullValidation
[ https://issues.apache.org/jira/browse/DAFFODIL-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Wass updated DAFFODIL-2447:
--------------------------------
Description:
See Mike's [comment|https://github.com/apache/incubator-daffodil/pull/431#discussion_r512181997] for potential optimization.
bq. 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.
was:
See Mike's [comment|https://github.com/apache/incubator-daffodil/pull/431#discussion_r512181997] for potential optimization.
{noformat}
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.
{noformat}
> Optimize schemaURIStringsForFullValidation
> ------------------------------------------
>
> Key: DAFFODIL-2447
> URL: https://issues.apache.org/jira/browse/DAFFODIL-2447
> Project: Daffodil
> Issue Type: Improvement
> Components: Back End, Performance
> Reporter: John Wass
> Priority: Trivial
> Labels: beginner, optimization
>
> See Mike's [comment|https://github.com/apache/incubator-daffodil/pull/431#discussion_r512181997] for potential optimization.
> bq. 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)