[ 
https://issues.apache.org/jira/browse/CASSANDRA-8755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14996413#comment-14996413
 ] 

Alexander Shopov commented on CASSANDRA-8755:
---------------------------------------------

> WRT to String.replace I'd prefer to use a precompiled Pattern instance
I will update the patch to reflect your suggestion and will rebase on current 
trunk. Will ping you when I am ready.

> Replace trivial uses of String.replace/replaceAll/split with StringUtils 
> methods
> --------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8755
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8755
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Jaroslav Kamenik
>            Priority: Trivial
>              Labels: lhf
>         Attachments: trunk-8755.patch, trunk-8755.txt
>
>
> There are places in the code where those regex based methods are  used with 
> plain, not regexp, strings, so StringUtils alternatives should be faster.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to