hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BELUGA BEHR (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HADOOP-15148) Improve DataOutputByteBuffer
Date Thu, 28 Dec 2017 17:03:00 GMT
BELUGA BEHR created HADOOP-15148:

             Summary: Improve DataOutputByteBuffer
                 Key: HADOOP-15148
                 URL: https://issues.apache.org/jira/browse/HADOOP-15148
             Project: Hadoop Common
          Issue Type: Improvement
          Components: common
    Affects Versions: 3.0.0
            Reporter: BELUGA BEHR
            Priority: Trivial

* Use ArrayDeque instead of LinkedList
* Replace an ArrayList that was being used as a queue with ArrayDeque
* Improve write single byte method to hard-code sizes and save time

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 LinkedList when used as a queue.*

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org

View raw message