Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.18.2
-
Fix Version/s: 2.20.0
-
Component/s: camel-core
-
Labels:None
-
Patch Info:Patch Available
-
Estimated Complexity:Unknown
Description
Current CaseInsensitiveMap bases on TreeMap.
Basing on JMH, I found out that the following implementation of CaseInsensitiveMap results with even 50% performance boost, depending on use-case.
It uses HashMap with case-insensitive wrappers on String keys.
Attachments
Issue Links
- is related to
-
CAMEL-11149 SPI - Allow to plugin different headers map implementation
-
- Resolved
-
- links to