hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BELUGA BEHR (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-15148) Improve DataOutputByteBuffer
Date Tue, 19 Jun 2018 16:53:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-15148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

BELUGA BEHR updated HADOOP-15148:
    Resolution: Not A Problem
        Status: Resolved  (was: Patch Available)

The code that this improved has been removed from the project.

> 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
>            Assignee: BELUGA BEHR
>            Priority: Trivial
>         Attachments: HADOOP-15148.1.patch
> * 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

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

View raw message