不可变数据集合,Immutable.js 3.7.6 发布
jopen 10年前
Immutable 是 非死book 开发的不可变数据集合。不可变数据一旦创建就不能被修改,是的应用开发更简单,允许使用函数式编程技术,比如惰性评估。Immutable JS 提供一个惰性 Sequence,允许高效的队列方法链,类似 map 和 filter ,不用创建中间代表。
immutable 通过惰性队列和哈希映射提供 Sequence, Range, Repeat, Map, OrderedMap, Set 和一个稀疏 Vector。
-
Fixed issue where
lastIndexOfdid not always return the correct value #703 -
mergeDeepnow has more opportunities to for the "return self" optimization, saving memory #690 -
The TypeScript .d.ts file now aligns with the outputted file for the variations of Immutable Iterables. #647
-
Ensure behavior for
slice(0, NaN)is equivalent to that of JS Array #623 -
Ensure ES6 Symbol can be properly hashed #579
下载页面:3.7.6
来自:http://www.oschina.net/news/69062/immutable-js-3-7-6