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

Consider reusing StringBuilders in URLDecodingHandler

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: