[
https://issues.apache.org/jira/browse/CAMEL-15765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17222052#comment-17222052
]
Claus Ibsen edited comment on CAMEL-15765 at 10/29/20, 6:03 AM:
----------------------------------------------------------------
TODO: Optimize enum to let it converter sooner
TODO: New way for type converter loaded to register as single class *DONE*
TODO: Regen type converter loader source with new way
TODO: Report number of converters via loader in new way *DONE*
TODO: Report type converter combos in a new way *DONE*
TODO: camel-cxf test failures *DONE*
TODO: camel-flatpack test faulures
TODO: Potential optimize for == match before instanceof in generated source code
TODO: camel-karaf to support bulk type converter loader *DONE*
was (Author: davsclaus):
TODO: Optimize enum to let it converter sooner
TODO: New way for type converter loaded to register as single class *DONE*
TODO: Regen type converter loader source with new way
TODO: Report number of converters via loader in new way *DONE*
TODO: Report type converter combos in a new way *DONE*
TODO: camel-cxf test failures
TODO: Potential optimize for == match before instanceof in generated source code
TODO: camel-karaf to support bulk type converter loader *DONE*
> camel-core - Optimize base converters
> -------------------------------------
>
> Key: CAMEL-15765
> URL: https://issues.apache.org/jira/browse/CAMEL-15765
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.7.0
>
>
> Working on optimizing the type converters from camel-base to be source code
> generated as a single class with big if .. else for doing converters.
> This makes Camel faster and smaller
> - reduces the classes loaded as there are no lambdas classes for each
> converter
> - does not register in the doublemap with from/to which reduces from 21kb to
> 3kb heap memory
> - likely faster than the map lookup and with the lambda call
> Before this prototype then DefaultTypeConverterRegistry was the 2nd biggest
> dominator from Camel (context biggest). Now its down to less than 3kb
--
This message was sent by Atlassian Jira
(v8.3.4#803005)