https://twitter.com/kotlin/status/1232251425868128257
Use the 'list.indices' property instead of building an explicit range using '0..list.length-1' or '0 until list.length'. Iterating over all such ranges is optimized, so no additional IntRange objects for storing indexes are created under the hood. #KotlinTips https://t.co/KAfOGpWPfM
Twitter