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

[perf] minor change in CDataEndEscapeFilterWriter to not call str.charAt multiple times

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.2.12, 2.3.1
    • 2.2.13, 2.3.2
    • None
    • None

    Description

      Currently we calll c2 = (char) str.charAt(off+i); when (char) str.charAt(off+i) was previously stored in the write method to variable c so we can easily just do the following c2=c and save some string manipulation.

      Attachments

        Activity

          People

            paul.nicolucci Paul Nicolucci
            paul.nicolucci Paul Nicolucci
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: