红联Linux门户
Linux帮助

Immutable.js 3.7.6发布,不可变数据集合

发布时间:2015-12-17 09:20:03来源:红联作者:empast
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

Immutable 是 Facebook 开发的不可变数据集合。不可变数据一旦创建就不能被修改,是的应用开发更简单,允许使用函数式编程技术,比如惰性评估。Immutable JS 提供一个惰性 Sequence,允许高效的队列方法链,类似 map 和 filter ,不用创建中间代表。

immutable 通过惰性队列和哈希映射提供 Sequence, Range, Repeat, Map, OrderedMap, Set 和一个稀疏 Vector。

下载地址:https://github.com/facebook/immutable-js/tree/3.7.6

来自:开源中国社区
文章评论

共有 0 条评论