Sean Sullivan created ORC-1710:
----------------------------------

             Summary: [Java] reduce enum array allocation
                 Key: ORC-1710
                 URL: https://issues.apache.org/jira/browse/ORC-1710
             Project: ORC
          Issue Type: Task
          Components: Java
            Reporter: Sean Sullivan


Reduce Java enum array allocation.

 

Each invocation of .values() returns a new array. We can reduce the number of 
array allocations by caching the result of .values (in some circumstances)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to