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

Nicolas Filotto updated CAMEL-16354:
------------------------------------
    Description: 
Using {{org.apache.camel.util.Scanner}} to use for splitting could potentially 
be optimized for more basic splitting by single char, like we do for commas.

The Scanner creates a lot of object allocations with reg exp patterns and 
whatnot that is way overkill.

  was:
Using java.util.Scanner to use for splitting could potentially be optimized for 
more basic splitting by single char, like we do for comma.

The Scanner creates a lot of object allocations with reg exp patterns and 
whatnot that is way overkill.


> camel-core - Optimize Splitters using Scanner
> ---------------------------------------------
>
>                 Key: CAMEL-16354
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16354
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Nicolas Filotto
>            Priority: Major
>             Fix For: 3.x
>
>
> Using {{org.apache.camel.util.Scanner}} to use for splitting could 
> potentially be optimized for more basic splitting by single char, like we do 
> for commas.
> The Scanner creates a lot of object allocations with reg exp patterns and 
> whatnot that is way overkill.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to