Closed mortenholmgaard closed 5 months ago
Those (poorly-named) functions are only for use with ArrayList as it supports fast random access. For List implementations that are not backed by simple arrays, those functions will almost always be slower than the regular functions.
Does kotlinx.collections.immutable support the fast iterations methods? See Android documentation for them here.