camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <>
Subject [jira] [Commented] (CAMEL-11379) Optimise - core type converters to be invoked faster
Date Sat, 24 Jun 2017 17:45:00 GMT


Claus Ibsen commented on CAMEL-11379:

This is only for the most commonly used conversions, the existing way of converting is in
used as well.

A wild idea is to have some maven plugin that scans for @Converter classes and generate some
source code for optimised type conversion calls.

> Optimise - core type converters to be invoked faster 
> -----------------------------------------------------
>                 Key: CAMEL-11379
>                 URL:
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.20.0
> Instead of adding the core type converters in a bit of dynamic way, we can hardcode how
they are registered and invoked which will by pass some of the overhead that dynamic discovered
type converters have.
> The benefit is that these core type converters are used a lot more and therefore we can
gain some memory footprint and performance by doing so.

This message was sent by Atlassian JIRA

View raw message