Use kotlin's CharSequence.split
This partially reverts 1010edc5. At that time, Kotlin (1.2.10) has a slow implementation of split. This has since been addressed in https://github.com/JetBrains/kotlin/commit/2805371bdcfa05bd2e72f86077f3a54518fd89ae and released in 1.2.30. As far as I can see, this is a faster implementation than Android's Pattern/Splitter.fastSplit for this particular use case.
Showing
Please register or sign in to comment