kotlinx.collections.immutable
kotlinx.collections.immutable copied to clipboard
Immutable persistent collections for Kotlin
I am adding some API on top of the provided persistent types, but I am running into trouble with maps/sets, because ordered and non-ordered implementations are indistinguishable. My specific use...
As far as I see the current implementation of collections, specifically `PersistentList`, is that of described in [the proposal](https://github.com/Kotlin/kotlinx.collections.immutable/blob/master/proposal.md#persistent-collection-implementations), which said that the complexity of `PersistentList` is: - `get(index)`, `set(index,...
the name of the `mutate` extension could be a bit misleading, since it is returning a new collection with the given modification and not "`mutate`"ing the existing collection. In this...
Let me also suggest my own FSet functional collections package as something you might want to look at: https://github.com/slburson/fset-java The data structure it uses is an evolution of Stephen Adams'...
There is some immediate backlash about immutable collections by Java users, as their understanding of the concept is either getting a full copy per operation, or receiving an exception on...
The current proposal document is undecided about whether to expose implementation types in the API. I'm confused about that. If only interface types are exposed, how can consumers be sure...
It is very inconvenient with current API to use `map()`, `filter()` and other collection combinators, which should be the natural default style to use when working with immutable collections. ```kotlin...
From the readme: > Note: you need to import these operators from kotlinx.collections.immutable package in order for them to take the precedence over the ones from the standard library. That...
Hello! Just checking in to see if there is any new info on whether or not this library is considered production-ready, or if there is a roadmap for how/when it...
I have not researched/seen existing footprint benchmarks, however, the following tests might make sense: a) "footprint overhead for storing N entries in a Map" (N=1..100_000) b) "footprint overhead in case...