Persistent data structures in Scala

后端 未结 4 1041
死守一世寂寞
死守一世寂寞 2020-12-07 17:06

Are all immutable data structures in Scala persistent? If not, which of them are and which not? What are the behavioural characteristics of those which are persistent? Also,

4条回答
  •  半阙折子戏
    2020-12-07 17:21

    Please have a look at these excellent articles by Daniel Spiewak:
    http://www.codecommit.com/blog/scala/implementing-persistent-vectors-in-scala
    http://www.codecommit.com/blog/scala/more-persistent-vectors-performance-analysis

    He's also referring to the Clojure implementation.

提交回复
热议问题