You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2021/06/06 08:04:00 UTC

[jira] [Updated] (CAMEL-16354) camel-core - Optimize Splitter using java.util.Scanner

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

Claus Ibsen updated CAMEL-16354:
--------------------------------
    Fix Version/s:     (was: 3.11.0)
                   3.x

> camel-core - Optimize Splitter using java.util.Scanner
> ------------------------------------------------------
>
>                 Key: CAMEL-16354
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16354
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>
> 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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)