Zoltan Demant
06/16/2022, 4:19 AM@Stable
? :60fps_parrot:
"kotlinx.collections.immutable.ImmutableList"
"kotlinx.collections.immutable.ImmutableSet"
"kotlinx.collections.immutable.ImmutableMap"
Ben Trengrove [G]
06/16/2022, 7:45 AMallan.conda
06/16/2022, 10:10 AMlistOf
has been stable for a while, right? base on this
https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:compose/[…]ability.kt;drc=e268b1151e73eac9c15aa17ce31dfefc8d749b70;l=235
I’m curious if we should replace everything with immutable list. We just found out today that one of the root cause of our performance issues are the unstable state classes (a Locale
is not inferred as stable).
There’s also a recommendation before somewhere here in this Slack that we shouldn’t be worrying about manually adding @Stable
and @Immutable
normally, so I’m wondering if we should start doing so (since not worrying about it led to performance issue)@Stable
and @Immutable
yet to improve performanceBen Trengrove [G]
06/16/2022, 9:58 PM