Widely using enums, is there any performance hits when you make them complex?
Like, I have maps of enum classes and my enum can contain:
enum class Foo(@StringRes val nameId: Int, @DrawableRes val image: Int, bar: Int) val buz = mutableMapOf<Foo, Int>()
Should they be as small as possible or it doesn’t matter? It should matter at least as a static object.