ilya.gorbunov
07/23/2019, 6:31 PMkotlinx.collections.immutable
library — 0.2
Thanks to the great effort of @Abduqodiri Qurbonzoda [JB] we now have modern and efficient implementations of persistent collections rewritten from scratch. That allowed us to improve performance characteristics of many collection operations. See more details in the changelog: https://github.com/Kotlin/kotlinx.collections.immutable/releases/tag/v0.2
Another notable change is that we have split each collection interface there into two parts: an ImmutableCollection
that merely extends a read-only Collection
and adds a contract of immutability on top of it, and a PersistentCollection
that additionally provides modification operations and builders.
We encourage you to try it and share your feedback, but note that the library is still pre-release, so the API and implementations can change in future.
Currently this library is provided only for JVM, but our next short term plan is turning it into a multiplatform one.
Slack ConversationAlexJuca
07/24/2019, 8:31 AMAbduqodiri Qurbonzoda [JB]
07/25/2019, 9:49 PM