#环形缓冲区 #多值 #滑动 #数据 #步进 #滑动窗口

strider

一次性对多个值执行环形缓冲区操作,高效实现。用于在可能无限的数据流中移动变量步长的窗口,同时避免不必要的内存分配。

4个版本

使用旧的Rust 2015

0.1.3 2016年1月11日
0.1.2 2015年12月31日
0.1.1 2015年12月30日
0.1.0 2015年12月29日

#2435算法

Download history 36/week @ 2024-02-25 24/week @ 2024-03-03 35/week @ 2024-03-10 32/week @ 2024-03-17 24/week @ 2024-03-24 55/week @ 2024-03-31 20/week @ 2024-04-07 24/week @ 2024-04-14 33/week @ 2024-04-21 218/week @ 2024-04-28 119/week @ 2024-05-05 42/week @ 2024-05-12 120/week @ 2024-05-19 82/week @ 2024-05-26 68/week @ 2024-06-02 23/week @ 2024-06-09

299 每月下载
用于 4 crates

MIT/Apache

21KB
229

strider

Build Status

[一次性对多个值执行环形缓冲区操作] (https://snd.github.io/strider/strider/trait.SliceRing.html) 的 [高效实现] (https://snd.github.io/strider/strider/index.html#performance)。使用 rust 编写。

用于在可能无限的数据流中移动变量步长的窗口 [同时避免不必要的内存分配] (https://snd.github.io/strider/strider/index.html#memory)

在计算 短时傅里叶变换 时非常有用。

要使用,请将 strider = "*" 添加到您的 [dependencies] 部分,并在您的代码中调用 extern crate strider;

阅读文档以获取示例和更多信息!

贡献

根据您的选择,在 apache-2.0MIT 许可下发布

无运行时依赖