[ 
https://issues.apache.org/jira/browse/CAMEL-5398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-5398:
-------------------------------

                Priority: Minor  (was: Major)
           Fix Version/s:     (was: 2.11.0)
                          Future
    Estimated Complexity: Novice  (was: Unknown)
    
> Optimize String.replaceAll() to cache Patterns where suitable
> -------------------------------------------------------------
>
>                 Key: CAMEL-5398
>                 URL: https://issues.apache.org/jira/browse/CAMEL-5398
>             Project: Camel
>          Issue Type: Improvement
>            Reporter: Henryk Konsek
>            Priority: Minor
>             Fix For: Future
>
>
> Inspired by issue [1] regarding performance of JMS headers, I performed a 
> little search in IDE and found out that there's pretty much not optimized 
> String.replaceAll() calls.
> I think it will be good to search the code base for such calls again and 
> replace them with references to the static pre-compiled 
> java.util.regex.Patterns. Of course if such action makes sense (like in 
> StringHelper#removeQuotes()).
> [1] https://issues.apache.org/jira/browse/CAMEL-5396

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to