You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Nicolas Filotto (Jira)" <ji...@apache.org> on 2022/10/18 15:55:00 UTC
[jira] [Resolved] (CAMEL-16354) camel-core - Optimize Splitters using Scanner
[ 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)