タグ

ブックマーク / hypirion.com (1)

  • Understanding Clojure's Persistent Vectors, pt. 1

    ★ Understanding Clojure's Persistent Vectors, pt. 1 posted 25 Sep 2013 You may or may not heard about Clojure’s persistent vectors. It is a data structure invented by Rich Hickey (influenced by Phil Bagwell’s paper on Ideal Hash Trees) for Clojure, which gives practically O(1) runtime for appends, updates, lookups and subvec. As they are persistent, every modification creates a new vector instead

    kimutansk
    kimutansk 2013/10/28
    Clojureのベクタの話。このあたりの接続周りとかは非常に「らしい」構造になっていますねぇ
  • 1