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

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

内容简介: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 安装


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

查看所有标签

猜你喜欢:

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

Algorithms of the Intelligent Web

Algorithms of the Intelligent Web

Haralambos Marmanis、Dmitry Babenko / Manning Publications / 2009-7-8 / GBP 28.99

Web 2.0 applications provide a rich user experience, but the parts you can't see are just as important-and impressive. They use powerful techniques to process information intelligently and offer featu......一起来看看 《Algorithms of the Intelligent Web》 这本书的介绍吧!

HTML 压缩/解压工具
HTML 压缩/解压工具

在线压缩/解压 HTML 代码

URL 编码/解码
URL 编码/解码

URL 编码/解码

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具