Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.18.2
-
None
-
Patch Available
-
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