Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1477

Consider reusing StringBuilders in URLDecodingHandler

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.0.18.Final
    • None
    • None
    • None

    Description

      In the most common case URLs do not include any values which must be decoded. The most expensive portion of URLDecodingHandler in this case is creating a new StringBuilder. Given relatively few IOThreads, we may want to consider using a ThreadLocal to reuse StringBuilders when invoked form an IO thread.

      Attachments

        Issue Links

          Activity

            People

              flaviarnn Flavia Rainone
              carterkozak Carter Kozak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: