hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BELUGA BEHR (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-19614) CompoundBloomFilterWriter Array Instead of LinkedList
Date Thu, 28 Dec 2017 14:57:00 GMT

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

BELUGA BEHR commented on HBASE-19614:
-------------------------------------

[~tedyu] I could, but what I've been doing is reviewing class by class, it just so happens
that the only thing I found in this class was this one change.  For example in [HBASE-19473]
I also proposed using ArrayDeque but also some other changes as well.

> CompoundBloomFilterWriter Array Instead of LinkedList
> -----------------------------------------------------
>
>                 Key: HBASE-19614
>                 URL: https://issues.apache.org/jira/browse/HBASE-19614
>             Project: HBase
>          Issue Type: Improvement
>          Components: hbase
>    Affects Versions: 3.0.0
>            Reporter: BELUGA BEHR
>            Assignee: BELUGA BEHR
>            Priority: Trivial
>         Attachments: HBASE-19614.1.patch
>
>
> {quote}
> ArrayDeque:
> Resizable-array implementation of the Deque interface. Array deques have no capacity
restrictions; they grow as necessary to support usage. They are not thread-safe; in the absence
of external synchronization, they do not support concurrent access by multiple threads. Null
elements are prohibited. *This class is likely to be faster than* Stack when used as a stack,
and faster than *LinkedList when used as a queue.*
> {quote}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message