You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Duncan Jones (JIRA)" <ji...@apache.org> on 2015/04/15 21:22:59 UTC
[jira] [Updated] (LANG-1058) StringUtils.uncapitalize performance
improvement
[ https://issues.apache.org/jira/browse/LANG-1058?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duncan Jones updated LANG-1058:
-------------------------------
Assignee: Duncan Jones
Looks good to me, thanks for the suggestion. Just to verify, I created a simple Google Caliper test to ensure your version is faster (I didn't test memory). The results are clear:
{noformat}
benchmark ns linear runtime
OriginalCode 193.9 ==============================
NewCode 90.2 =============
vm: java
trial: 0
{noformat}
I'll also look to apply the same fixes to {{capitalize}} too. Watch this space...
> StringUtils.uncapitalize performance improvement
> ------------------------------------------------
>
> Key: LANG-1058
> URL: https://issues.apache.org/jira/browse/LANG-1058
> Project: Commons Lang
> Issue Type: Improvement
> Components: lang.*
> Reporter: Leo Wang
> Assignee: Duncan Jones
> Fix For: Review Patch
>
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)