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/03 07:41:00 UTC

[jira] [Updated] (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 updated CAMEL-15627:
--------------------------------
    Summary: camel-core - optiomize - Initialize of expression to avoid runtime check  (was: camel-core - Initialize of expression to avoid runtime check)

> 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: Task
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.x
>
>
> 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)