camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcin Lachowicz (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-10988) Improve performance of CaseInsensitiveMap
Date Tue, 30 May 2017 14:24:04 GMT

    [ https://issues.apache.org/jira/browse/CAMEL-10988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16029475#comment-16029475
] 

Marcin Lachowicz commented on CAMEL-10988:
------------------------------------------

Thank you very much! I really appreciate your help :) 

Best regards,
Marcin Lachowicz

> Improve performance of CaseInsensitiveMap
> -----------------------------------------
>
>                 Key: CAMEL-10988
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10988
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.18.2
>            Reporter: Marcin Lachowicz
>            Assignee: Claus Ibsen
>             Fix For: 2.20.0
>
>
> Current CaseInsensitiveMap bases on TreeMap. 
> Basing on JMH, I found out that [the following implementation of CaseInsensitiveMap|https://github.com/jdereg/java-util/blob/master/src/main/java/com/cedarsoftware/util/CaseInsensitiveMap.java]
results with even 50% performance boost, depending on use-case. 
> It uses HashMap with case-insensitive wrappers on String keys. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message