Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 94209 invoked from network); 28 Feb 2011 22:45:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 28 Feb 2011 22:45:01 -0000 Received: (qmail 68893 invoked by uid 500); 28 Feb 2011 22:45:00 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 68852 invoked by uid 500); 28 Feb 2011 22:45:00 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 68845 invoked by uid 99); 28 Feb 2011 22:45:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 22:45:00 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Feb 2011 22:44:57 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F087C429E5 for ; Mon, 28 Feb 2011 22:44:36 +0000 (UTC) Date: Mon, 28 Feb 2011 22:44:36 +0000 (UTC) From: "Lily Wei (JIRA)" To: derby-dev@db.apache.org Message-ID: <1005312003.3314.1298933076981.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1419245962.1860.1298709561856.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] Updated: (DERBY-5071) [patch] use string buffers when building strings in loops MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-5071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lily Wei updated DERBY-5071: ---------------------------- Issue & fix info: [Patch Available] Assignee: Dave Brosius Bug behavior facts: [Performance] Labels: derby_triage10_8 (was: ) I've committed with revision 1075568. Thanks, Dave. > [patch] use string buffers when building strings in loops > --------------------------------------------------------- > > Key: DERBY-5071 > URL: https://issues.apache.org/jira/browse/DERBY-5071 > Project: Derby > Issue Type: Improvement > Components: Network Server > Affects Versions: 10.7.1.1 > Reporter: Dave Brosius > Assignee: Dave Brosius > Priority: Trivial > Labels: derby_triage10_8 > Fix For: 10.8.0.0 > > Attachments: use_stringbuffer.diff > > Original Estimate: 1h > Remaining Estimate: 1h > > Various spots in code builds up strings in loops. > This causes n extra StringBuffer allocations and n extra String allocations > patch replaces with direct StringBuffer use. -- This message is automatically generated by JIRA. - For more information on JIRA, see: http://www.atlassian.com/software/jira