Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 85670 invoked from network); 27 Apr 2009 08:29:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 27 Apr 2009 08:29:51 -0000 Received: (qmail 58883 invoked by uid 500); 27 Apr 2009 08:29:51 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 58817 invoked by uid 500); 27 Apr 2009 08:29:51 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 58808 invoked by uid 99); 27 Apr 2009 08:29:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 08:29:51 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Apr 2009 08:29:50 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6906A234C054 for ; Mon, 27 Apr 2009 01:29:30 -0700 (PDT) Message-ID: <92677326.1240820970428.JavaMail.jira@brutus> Date: Mon, 27 Apr 2009 01:29:30 -0700 (PDT) From: "Regis Xu (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-6045) [classlib] [luni] Optimize java.lang.String.toUpperCase(), String.toLowerCase() and String sharing for more performance gains In-Reply-To: <1053490928.1229307584344.JavaMail.jira@brutus> 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/HARMONY-6045?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Regis Xu updated HARMONY-6045: ------------------------------ Attachment: StringConvertCase.v2.java New benchmark include String.compareToIgnoreCase > [classlib] [luni] Optimize java.lang.String.toUpperCase(), String.toLowerCase() and String sharing for more performance gains > ----------------------------------------------------------------------------------------------------------------------------- > > Key: HARMONY-6045 > URL: https://issues.apache.org/jira/browse/HARMONY-6045 > Project: Harmony > Issue Type: Improvement > Components: Classlib > Affects Versions: 5.0M8 > Reporter: Kevin Zhou > Fix For: 5.0M9 > > Attachments: HARMONY-6045.diff, HARMONY-6045v2.diff, StringConvertCase.java, StringConvertCase.v2.java > > Original Estimate: 24h > Remaining Estimate: 24h > > Recently, I make some improvement on java.lang.String and java.lang.AbstractStringBuilder class for more performance gains. > 1. Move the share mode for all the AbstractStringBuilder.append method, since the append never change the share things. > 2. Move the share mode in AbstractStringBuilder.setLength method > 3. Add the special care for the ASCII things, especially on case things of String.toUpperCase and to LowerCase methods. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.