Join Slack
Powered by
As I understand it, each value in an enum is actua...
# announcements
m
michaelbannister
05/07/2016, 11:08 AM
As I understand it, each value in an enum is actually a singleton so having a million instances of a class each with a field referencing an enum value would use no more heap space than each class having an int field.
2
Views
Open in Slack
Previous
Next