belugabehr opened a new pull request #731:
URL: https://github.com/apache/orc/pull/731


   ### What changes were proposed in this pull request?
   
   Discovered multiple places in the code where a Collection is accessed with a 
'contains' and a 'get'.  However, this is superfluous as a 'get' will return a 
`null` value if the Collection doesn't contain the item.  This can be utilized 
to save multiple trips into the same map.
   
   ### Why are the changes needed?
   Small performance, less code
   
   ### How was this patch tested?
   No change in behavior so existing unit test suffice.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to