acrites commented on PR #41655:
URL: https://github.com/apache/beam/pull/41655#issuecomment-7287945780

   I was a bit surprised too, but found a few Stack Overflow posts saying 
calling `enum.values()` always allocated a new array instead of returning 
something static and immutable.


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