hadoop-hdfs-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] (HDFS-13168) XmlImageVisitor - Prefer Array over LinkedList
Date Sun, 18 Feb 2018 19:13:00 GMT

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

BELUGA BEHR updated HDFS-13168:
-------------------------------
    Attachment: HDFS-13168.1.patch

> XmlImageVisitor - Prefer Array over LinkedList
> ----------------------------------------------
>
>                 Key: HDFS-13168
>                 URL: https://issues.apache.org/jira/browse/HDFS-13168
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: hdfs
>    Affects Versions: 3.0.0
>         Environment: {{ArrayDeque}}
> {quote}This class is likely to be faster than Stack when used as a stack, and faster
than LinkedList when used as a queue.{quote}
> .. not to mention less memory fragmentation (single backing array v.s. many ArrayList
nodes).
> https://docs.oracle.com/javase/8/docs/api/java/util/ArrayDeque.html
>            Reporter: BELUGA BEHR
>            Priority: Minor
>         Attachments: HDFS-13168.1.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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


Mime
View raw message