Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3555

[perf] store location key in composite component just once

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.14, 2.1.8
    • Component/s: JSR-314
    • Labels:
      None

      Description

      In CompositeComponentDefinitionTagHandler, there are some lines that store the Location object inside the composite component, that is used later for EL resolution (CompositeComponentELUtils.LOCATION_KEY), but each time the algorithm pass over that part when the view is refreshed, the same value is stored over and over again. With as simple check we can avoid that and minimize the state size when composite component are used.

        Attachments

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              lu4242 Leonardo Uribe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: