Join Slack
Powered by
Also note, that `values()` clones the array every ...
# announcements
o
orangy
02/08/2017, 8:05 PM
Also note, that
values()
clones the array every time, so if you are using it under load, make sure to cache values, and if enum is big enough, even produce a map from value to enum once.
Open in Slack
Previous
Next