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.

Reply via email to