Uploaded image for project: 'XalanJ2'
  1. XalanJ2
  2. XALANJ-896

QName.toString() should use StringBuffer concat to improve perf

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.4
    • None
    • Other
    • None
    • Operating System: All
      Platform: All
    • 7058

    Description

      Using StringBuffer's in toString method will improve performance of this method

      i.e.
      StringBuffer sBuffer = new StringBuffer(256);
      sBuffer.append("

      {").append(_namespaceURI).append("}

      ").append_localName);
      return sBuffer.toString();

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            darmlin@silverstream.com Dave Armlin

            Dates

              Created:
              Updated:

              Slack

                Issue deployment