Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6835

Improve performance of AbstractMapper.getPlaceholder

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 9.0.0
    • 9.1.0, 8.10.0
    • wicket-core
    • None

    Description

      AbstractMapper.getPlaceholder is another minor hotspot in my application. It is called very frequently during resource mapping and can be significantly improved by replacing String.startsWith and String.endsWith with character lookups.

      Attachments

        Activity

          People

            thomas.heigl Thomas Heigl
            thomas.heigl Thomas Heigl
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: