Message: The following issue has been closed.
--------------------------------------------------------------------- View the issue: http://issues.apache.org/jira/browse/JAMES-45 Here is an overview of the issue: --------------------------------------------------------------------- Key: JAMES-45 Summary: Extensive use of string concatenation operator throughout code base Type: Bug Status: Closed Resolution: FIXED Project: James Components: James Core Versions: 2.0a3 Assignee: Reporter: Peter M. Goldstein Created: Sat, 27 Jul 2002 7:11 PM Updated: Sun, 6 Jun 2004 2:32 PM Environment: Operating System: Other Platform: Other Description: This bug is really a performance/scalability/resources issue. The code is full (especially in the handlers) of string concatenation operators. This is a very resource intensive operation when concatenating anything more than 2 string (i.e. "a" + "b" + "c" + "d") because of the temporary objects created and then discarded with each concatenation. It is very preferable to use a single StringBuffer instance to do this type of concatenation. This eliminates the temporary object creation and hence improves performance. This is especially critical in the assorted handlers, where the use of the concatenation operator is most prevalent, because these classes are going to be your bottlenecks for client interaction. --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
