不可變數據集合,Immutable.js 3.7.6 發布

jopen 8年前發布 | 4K 次閱讀 Immutable.js

Immutable 是 非死book 開發的不可變數據集合。不可變數據一旦創建就不能被修改,是的應用開發更簡單,允許使用函數式編程技術,比如惰性評估。Immutable JS 提供一個惰性 Sequence,允許高效的隊列方法鏈,類似 mapfilter ,不用創建中間代表。

immutable 通過惰性隊列和哈希映射提供 Sequence, Range, Repeat, Map, OrderedMap, Set 和一個稀疏 Vector

Immutable.js 3.7.6 發布,更新內容如下:

  • Fixed issue where lastIndexOf did not always return the correct value #703

    </li>

  • mergeDeep now has more opportunities to for the "return self" optimization, saving memory #690

    </li>

  • The TypeScript .d.ts file now aligns with the outputted file for the variations of Immutable Iterables. #647

    </li>

  • Ensure behavior for slice(0, NaN) is equivalent to that of JS Array #623

    </li>

  • Ensure ES6 Symbol can be properly hashed #579

    </li> </ul>

    下載頁面:3.7.6



    來自:http://www.oschina.net/news/69062/immutable-js-3-7-6

     本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
     轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
     本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!