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

[perf] avoid lambda instances / computeIfAbsent

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3-next-M3
    • None
    • None

    Description

      In places which are called many many times per request, its to better to avoid computeIfAbsend as each time a new lambda instance is created
      for our test view in the quarkus showcase (methodHandle xhtml) with 20000 rows in a repeat, we now save around 1.000.000 object instances

      Attachments

        Activity

          People

            tandraschko Thomas Andraschko
            tandraschko Thomas Andraschko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: