Hi guys! I am wondering if K/N list implementation...
# kotlin-native
a
Hi guys! I am wondering if K/N list implementation differ in any level from Kotlin Common. For instance:
Copy code
val 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?
m
According to source works same everywhere.
a
Thanks, I was pretty much of the same opinion, but wanted to be sure!