darkmoon_uk
06/17/2017, 7:47 AMArray
have an inline constructor; when the compiler says this is disallowed in my own code?voddan
06/17/2017, 8:09 AMinline constructor
is not a thing)darkmoon_uk
06/17/2017, 8:09 AMvoddan
06/17/2017, 8:10 AMdarkmoon_uk
06/17/2017, 8:11 AMvoddan
06/17/2017, 8:15 AMinline
there is for the lambda performancedarkmoon_uk
06/17/2017, 8:18 AMArray<Any?>
and casting inside my class.voddan
06/17/2017, 8:35 AMArray
instead of List
or MutableList
? Their performance are exactly the same, but lists have normal genericsdarkmoon_uk
06/17/2017, 8:44 AMvoddan
06/17/2017, 10:52 AMinitialization functionDo you mean that? https://github.com/JetBrains/kotlin/blob/1.1.2/libraries/stdlib/src/kotlin/collections/Collections.kt#L123
darkmoon_uk
06/17/2017, 1:11 PMvoddan
06/17/2017, 2:47 PMradityagumay
06/17/2017, 11:09 PM