[
https://issues.apache.org/jira/browse/CAMEL-16354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nicolas Filotto resolved CAMEL-16354.
-------------------------------------
Fix Version/s: 3.20.0
(was: 3.x)
Resolution: Fixed
> 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.20.0
>
> Attachments: TestJMH.zip
>
>
> Using {{org.apache.camel.util.Scanner}} to use for splitting could
> potentially be optimized for more basic splitting by single char as 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)