You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2017/12/28 17:03:00 UTC
[jira] [Created] (HADOOP-15148) Improve DataOutputByteBuffer
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: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org