Camel
  1. Camel
  2. CAMEL-5208

Optimize type converters for primitive types

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.3, 2.10.0
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Currently if you type convert to primitive types such as

      • int
      • long

      Then Camel will use the their object counterparts for conversion, eg

      • Integer
      • Long

      But we do not optimize so the next time we can do a faster lookup of the type converter

        Activity

        Hide
        Claus Ibsen added a comment -

        Conversions to primitives is now faster

        Show
        Claus Ibsen added a comment - Conversions to primitives is now faster

          People

          • Assignee:
            Claus Ibsen
            Reporter:
            Claus Ibsen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development