How does Scala's Vector work?

前端 未结 3 1315
醉梦人生
醉梦人生 2021-02-02 08:09

I read this page about the time complexity of Scala collections. As it says, Vector\'s complexity is eC for all operations.

It made me wonder w

3条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-02 08:40

    These may be interesting for you:

    • Ideal Hash Trees by Phil Bagwell.
    • Implementing Persistent Vectors in Scala - Daniel Spiewak
    • More Persistent Vectors: Performance Analysis - Daniel Spiewak
    • Persistent data structures in Scala

提交回复
热议问题