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=11235>. 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=11235 Extensive use of string concatenation operator throughout code base Summary: Extensive use of string concatenation operator throughout code base Product: James Version: 2.0a3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: James Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] 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. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
