[
https://issues.apache.org/jira/browse/SLING-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12766285#action_12766285
]
Ian Boston commented on SLING-1156:
-----------------------------------
bundles/jcr/resource to contrib/jcr/resource2 and patched with refactoring work.
Changed the artifactId of the patch bundle.
> ResourceProviderEntry uses iterators rather than maps, this becomes expensive
> with apps with many servlets.
> -----------------------------------------------------------------------------------------------------------
>
> Key: SLING-1156
> URL: https://issues.apache.org/jira/browse/SLING-1156
> Project: Sling
> Issue Type: Improvement
> Components: JCR
> Affects Versions: JCR Resource 2.0.6
> Reporter: Ian Boston
> Assignee: Ian Boston
>
> The ResourceProviderEntry uses iterators over many servlets, this is probably
> Ok for Resource resolution but when it comes to servlet resolution many are
> tested and this can be expensive especially if there are many servlets. IMHO,
> the class should be refactored to use trees of maps.
> This has been discussed on list, the intention is to create a contrib version
> to explore this further, not wanting to impact the active version in trunk.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.