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 2020/10/07 08:32:00 UTC

[jira] [Resolved] (CAMEL-15627) camel-core - optiomize - Initialize of expression to avoid runtime check

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

Claus Ibsen resolved CAMEL-15627.
---------------------------------
    Resolution: Fixed

> camel-core - optiomize - Initialize of expression to avoid runtime check
> ------------------------------------------------------------------------
>
>                 Key: CAMEL-15627
>                 URL: https://issues.apache.org/jira/browse/CAMEL-15627
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.6.0
>
>
> Some expressions have init logic to setup resources and whatnot. But some places we call init on evaluate/matches. Instead we should ensure init is first-class so we dont need to have this runtime check overhead.
> Just follow this where its used in the code
> org.apache.camel.Expression#init



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