发布于 2015-12-17 00:31:00 | 190 次阅读 | 评论: 0 | 来源: 网友投递
Immutable.js 不可变数据集合
Immutable 是 Facebook 开发的不可变数据集合。不可变数据一旦创建就不能被修改,是的应用开发更简单,允许使用函数式编程技术,比如惰性评估。Immutable JS 提供一个惰性 Sequence,允许高效的队列方法链,类似 map 和 filter ,不用创建中间代表。
Immutable.js 3.7.6 发布,更新内容如下:
Fixed issue where lastIndexOf did not always return the correct value #703
mergeDeep now 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
Immutable 是 Facebook 开发的不可变数据集合。不可变数据一旦创建就不能被修改,是的应用开发更简单,允许使用函数式编程技术,比如惰性评估。Immutable JS 提供一个惰性 Sequence,允许高效的队列方法链,类似 map 和 filter ,不用创建中间代表。
immutable 通过惰性队列和哈希映射提供 Sequence, Range, Repeat, Map, OrderedMap, Set 和一个稀疏 Vector。