Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-1156

ResourceProviderEntry uses iterators rather than maps, this becomes expensive with apps with many servlets.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • JCR Resource 2.0.6
    • JCR Resource 2.0.8
    • JCR
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              ianeboston Ian Boston
              ianeboston Ian Boston
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: