[ 
https://issues.apache.org/jira/browse/GROOVY-6228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Paul King updated GROOVY-6228:
------------------------------
    Labels: contrib  (was: )

> Add asConcurrent(List/Map) method to Collections
> ------------------------------------------------
>
>                 Key: GROOVY-6228
>                 URL: https://issues.apache.org/jira/browse/GROOVY-6228
>             Project: Groovy
>          Issue Type: Improvement
>          Components: groovy-jdk
>            Reporter: Thierry De Leeuw
>            Priority: Minor
>              Labels: contrib
>
> Wouldn't it be better to replace/provide a new methods to get a 
> ConcurrentHashMap, instead of a collections.SynchronizedMap as it is a lot 
> more efficient?
> If the "original" map is a TreeMap, of course, there is no equivalent in 
> Concurrent, so fallback to Synchronized seems a good compromise.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to