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

[perf] Use ArrayList instead LinkedList in UIComponent.pushComponentToEL / popComponentFromEL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.12, 2.1.6
    • JSR-314
    • None

    Description

      Doing some performance tests it was found that LinkedList create and discard lots of instances of LinkedList.EntrySet. Use an ArrayList is better because it does not create such instances, improving code speed and reducing memory footprint. Note use LinkedList was a good idea because that makes easier to think about algorithm itself, but since that part of the code is pretty stable and have , we can change it without problem.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            lu4242 Leonardo Uribe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: