[
https://issues.apache.org/jira/browse/CAMEL-8262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-8262.
--------------------------------
Resolution: Fixed
> Optimize CaseInsensitiveMap
> ---------------------------
>
> Key: CAMEL-8262
> URL: https://issues.apache.org/jira/browse/CAMEL-8262
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Fix For: 2.15.0
>
>
> The CaseInsensitiveMap can be optimized as currently we keep 2 maps with the
> original keys + lower case keys.
> But all that can be done from the JDK using a TreeMap with a case insenstice
> comparator from the JDK itself. This reduces memory (only 1 map) and also
> better performance as its one map, with the trade-off that walking the map
> using entrySet no longer supports mutations.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)