Kotlin 2.2.0-Beta1 contains <https://youtrack.jetb...
# javascript
e
Kotlin 2.2.0-Beta1 contains https://youtrack.jetbrains.com/issue/KT-74533, which means iterating over strings, or getting characters by index, is now even more performant, probably on par with pure JS. The new implementation has intrinsics specific to the
String
type, instead of sharing them with
CharSequence
, so instead of calling
charSequenceGet(str, index)
it will call
charCodeAt(str, index)
directly. Apart from that I see there are fixes for plain objects support, and finally exporting
Promise<Unit>
won't output a warning anymore https://youtrack.jetbrains.com/issue/KT-57192.
kodee happy 5
👍 1