Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16354

camel-core - Optimize Splitters using Scanner

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.20.0
    • camel-core
    • None
    • Unknown

    Description

      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.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            nfilotto Nicolas Filotto
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment