You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "BELUGA BEHR (JIRA)" <ji...@apache.org> on 2019/01/08 19:38:00 UTC

[jira] [Commented] (CALCITE-2778) CompoundClosableAllocation Prefer ArrayList

    [ https://issues.apache.org/jira/browse/CALCITE-2778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16737455#comment-16737455 ] 

BELUGA BEHR commented on CALCITE-2778:
--------------------------------------

https://github.com/apache/calcite/pull/994

> CompoundClosableAllocation Prefer ArrayList
> -------------------------------------------
>
>                 Key: CALCITE-2778
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2778
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: BELUGA BEHR
>            Assignee: Julian Hyde
>            Priority: Minor
>
> In Java, ArrayList should be the default choice over LinkedList.  It generally requires less memory and is faster.  Update {{CompoundClosableAllocation}} to use an Array structure instead of linked list and simplify the code.



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