You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by bu...@apache.org on 2002/03/12 19:25:44 UTC

DO NOT REPLY [Bug 7058] New: - QName.toString() should use StringBuffer concat to improve perf

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7058>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7058

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

           Summary: QName.toString() should use StringBuffer concat to
                    improve perf
           Product: XalanJ2
           Version: 2.1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: org.apache.xml.utils
        AssignedTo: xalan-dev@xml.apache.org
        ReportedBy: darmlin@silverstream.com


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();