[
https://issues.apache.org/jira/browse/JCRVLT-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18054574#comment-18054574
]
Julian Reschke commented on JCRVLT-831:
---------------------------------------
Using the node counter would be interesting; but it can be incorrect (and using
it right now would have a versioning problem because the API is new - without
some surgery we would have to give up compat with Oak 1.22.* (Java 8)).
Iterating only to a limit, logging a BIG warning about the size of the ordered
collection, and falling back to serializing all prefixes would be a good
compromise. It would only change the output when the input (what get's
packaged) is already insane.
> For collection of namespace prefixes, avoid iterating over sibling nodes not
> contained in the filter(s)
> -------------------------------------------------------------------------------------------------------
>
> Key: JCRVLT-831
> URL: https://issues.apache.org/jira/browse/JCRVLT-831
> Project: Jackrabbit FileVault
> Issue Type: Improvement
> Components: vlt
> Reporter: Julian Reschke
> Assignee: Julian Reschke
> Priority: Major
> Fix For: 4.2.0
>
>
> It appears that the changes for JCRVLT-789 improved the performance for
> exporting the *content*, however the phase of collecting namespace prefixes
> does not use that optimzation.
> (TBD: write a test)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)