hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Shelukhin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-8123) Replace HashMap/HashSet with TreeMap/TreeSet where byte[] is used as key
Date Fri, 15 Mar 2013 18:30:14 GMT

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

Sergey Shelukhin commented on HBASE-8123:
-----------------------------------------

There are long lines.
Are all these maps small? It probably doesn't matter in most cases but I wonder if we should
instead make a proper key for hashmap. Or if in some cases the matching is guaranteed to be
correct due to how the map is used.
                
> Replace HashMap/HashSet with TreeMap/TreeSet where byte[] is used as key
> ------------------------------------------------------------------------
>
>                 Key: HBASE-8123
>                 URL: https://issues.apache.org/jira/browse/HBASE-8123
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 0.95.0, 0.94.5
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>         Attachments: HBASE-8123-v0-94.patch, HBASE-8123-v0.patch
>
>
> We still have code using HashMap/HashSet with byte[] as key

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message