kotlin
kotlin copied to clipboard
KT-38453: Added primitive types specialization for kotlin.properties.
https://youtrack.jetbrains.com/issue/KT-38453
To avoid allocations when observable property is used with Int
, Long
and Double
primitive specialized types added, which mimic their generic variant.
Int
, Long
, Double
subset of primitive types was chosen to mimic JDK
primitive types specialization for Function<T, U
>.