Hello, did someone benchmark the KMP <androidx.col...
# multiplatform
f
Hello, did someone benchmark the KMP androidx.collection against the builtin of kotlin ?
j
So all of the changes in Compose and Compose UI from the standard collections to the optimized ones come with benchmark improvements (which are not public, to my knowledge) or they wouldn't be made.
Are you just looking for how much better they are in some scenario? Or are you concerned that they are not actually better?
Going from like a
List<Int>
to an
IntList
is always going to be the right choice as long as you don't have a library's public API considerations to make.
Going from an
HashMap
(or
LinkedHashMap
) to an
ArrayMap
, though, is far less clear, and depends on access patters and collection size.
f
Thanks