[
https://issues.apache.org/jira/browse/HBASE-19614?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16379183#comment-16379183
]
Appy edited comment on HBASE-19614 at 2/27/18 7:57 PM:
-------------------------------------------------------
Committing ...sorry for delay.
Thanks for the patch [~belugabehr]!
was (Author: appy):
Committing ...sorry for delay.
> Use ArrayDeque as Queue instead of LinkedList in CompoundBloomFilterWriter
> --------------------------------------------------------------------------
>
> 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
> Fix For: 3.0.0
>
> 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
(v7.6.3#76005)