Anton Afanasev
08/26/2021, 12:42 PMval mutableList = mutableListOf<Int>()
val immutableList = mutableList.toList()
Wondering if K/N handle toList
method in some different manner? Does it use copy
operation or simply check the type and cast as it does in stdlib?MJegorovas
08/26/2021, 1:23 PMAnton Afanasev
08/26/2021, 1:24 PM