最高性能的流处理
Highest-performance Stream Processing
摘要:
我们提出的流处理库,实现了现有的OCaml流库的最高性能,达到手写状态机的速度和内存效率。它支持有限流和无限流,具有熟悉的声明式接口,可以是map、filter、take(while)、drop(while)、zip、flatmap combinators和tupling的任意组合。有经验的用户可以使用有状态流的低级接口,并实现累积映射、压缩和窗口化。该库基于有保证的代码生成(目前,OCaml和C),并保证在所有情况下完全融合。
英文摘要:
We present the stream processing library that achieves the highest performance of existing OCaml streaming libraries, attaining the speed and memory efficiency of hand-written state machines. It supports finite and infinite streams with the familiar declarative interface, of any combination of map, filter, take(while), drop(while), zip, flatmap combinators and tupling. Experienced users may use the lower-level interface of stateful streams and implement accumulating maps, compression and windowing. The library is based on assured code generation (at present, of OCaml and C) and guarantees in all cases complete fusion.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。