[ https://issues.apache.org/jira/browse/GROOVY-6950?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul King updated GROOVY-6950: ------------------------------ Remaining Estimate: (was: 48h) Original Estimate: (was: 48h) > StringGroovyMethods improve performance > ---------------------------------------- > > Key: GROOVY-6950 > URL: https://issues.apache.org/jira/browse/GROOVY-6950 > Project: Groovy > Issue Type: Improvement > Components: groovy-runtime > Reporter: lwh > Assignee: Paul King > > StringGroovyMethods has many issue: > 1) Inefficient converting CharSequence to String. If do not convert, the > method of CharSequence wiil twice faster. > 2) IOGroovyMethods.readLines is slow, do not use it. readLines use a closue! > 3) the methods of center/denormalize/expand/pad/strip are Inefficient, there > is no need creat so many StringBuilders > I'll fix this (on github) in a few days. Please help me check and merge it. -- This message was sent by Atlassian JIRA (v6.3.4#6332)