fastrx v3 版本发布——精简版极速 rxjs 实现

栏目: 软件资讯 · 发布时间: 5年前

内容简介:fastrx是一款api和rxjs十分近似的js库,拥有极为精简的实现,并提供极速的性能。与官方的RxJS相比有部分功能删减(不常用)。 特性:同时支持链式编程方式和管道编程方式 性能方面: fastrx 22.56 op/s ± 1.77% ...

fastrx是一款api和rxjs十分近似的js库,拥有极为精简的实现,并提供极速的性能。与官方的RxJS相比有部分功能删减(不常用)。

特性:同时支持链式编程方式和管道编程方式

性能方面:

fastrx 22.56 op/s ± 1.77% (57 samples)
cb-basics 9.56 op/s ± 1.73% (49 samples)
xstream 5.37 op/s ± 0.68% (30 samples)
most 17.32 op/s ± 1.93% (82 samples)
rx 6 6.28 op/s ± 3.10% (35 samples)

v3版本更新内容: 

采用TypeScript重写,并优化部分逻辑、进一步精简代码(通过类继承实现)

支持Tree-shaking,(仅在使用pipe编程方式时)

使用npm i fastrx@next 安装


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们。

How to Build a Billion Dollar App

How to Build a Billion Dollar App

George Berkowski / Little, Brown Book Group / 2015-4-1 / USD 24.95

Apps have changed the way we communicate, shop, play, interact and travel and their phenomenal popularity has presented possibly the biggest business opportunity in history. In How to Build a Billi......一起来看看 《How to Build a Billion Dollar App》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

HTML 编码/解码
HTML 编码/解码

HTML 编码/解码