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

Adrien Grand resolved LUCENE-6095.
----------------------------------
       Resolution: Fixed
    Fix Version/s: Trunk
                   5.0

> Remove RamUsageTester.IdentityHashSet
> -------------------------------------
>
>                 Key: LUCENE-6095
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6095
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Adrien Grand
>            Assignee: Adrien Grand
>            Priority: Trivial
>             Fix For: 5.0, Trunk
>
>         Attachments: LUCENE-6095.patch
>
>
> RamUsageTester has an implementation of an identity hash set. I am not sure 
> why it is there but now that RamUsageTester can only be used in the context 
> of tests (ie. memory usage or speed are less of a concern) I think we can 
> switch to Collections.newSetFromMap(new IdentityHashMap<>())?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to