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 18:27:00 UTC

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

BELUGA BEHR created CALCITE-2778:
------------------------------------

             Summary: 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


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)