Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-87368

Reduce garbage creation when appending 3 strings with StringBundler

    Details

      Description

      Reduce garbage creation when appending 3 strings with StringBundler.

      When calling append() 3 times on a StringBundler before calling toString() we can reduce garbage creation by checking if the 1st or 3rd strings are longer and appending the shorter string first.

        Attachments

          Activity

            People

            • Assignee:
              victor.ware Victor Ware
              Reporter:
              preston.crary Preston Crary
              Recent user:
              Csaba Turcsan
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: