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

{quote}
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.*
{quote}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to