You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Being less complicated, Immutable data types can very easily be preconfigured to allow high performance in all areas so they should be supported internally.
Stream API
Updating existing data in an immutable data-structure should automatically create different queryable versions.
//example version stream API
map
.get(key)
.versions
.foreach {
case (key, value, version) =>//do something
}
Creating data-structures API
Following similar API as Scala collections.
//in Scala collections we can create a map as followingvalmap= mutable.Map.empty[Int, String]
Support
immutable
data-structures.Config
Being less complicated,
Immutable
data types can very easily be preconfigured to allow high performance in all areas so they should be supported internally.Stream API
Updating existing data in an immutable data-structure should automatically create different queryable versions.
Creating data-structures API
Following similar API as Scala collections.
Following above In SwayDB this should be
In Java this would be
The text was updated successfully, but these errors were encountered: