1. 首页
  2. 数据库
  3. 其它
  4. idx:具有按需二级索引的地图集合和向量 源码

idx:具有按需二级索引的地图集合和向量 源码

上传者: 2021-04-08 22:35:29上传 ZIP文件 26.45KB 热度 7次
IDX idx使您可以像对待数据库一样对待自己的馆藏。 该库提供了允许辅助索引的clojure(script)数据结构(映射,集合和向量)。索引提供了对其元素的替代快速访问路径。 同时支持Clojure和ClojureScript。 ( require '[com.wotbrew.idx :as idx]) ( def indexed-vector ( idx/auto [{ :name " fred " } { :name " ethel " }])) indexed-vector ; ; => [{ :name " fred " } { :name " ethel " }] ; the indexed structure will behave (and be printed!) like the original collection. ( idx/lookup indexed-
下载地址
用户评论