Skip to content
Faster jvm-only implementation of the reactive streams for fs2.
Scala
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
benchmarks/src/main/scala/ru/dokwork/fs2/benchmarks
project
src
.gitignore
.scalafmt.conf
.travis.yml
LICENSE
README.md
build.sbt
version.sbt

README.md

fast-reactive-fs2

Build Status Coverage Status Download

Implementation of the reactive streams for fs2.

This version is not cross-platform, but faster than official module:

Benchmark                                      Mode  Cnt      Score      Error  Units
ReadOneMillionNumbers.dokworkStreamSubscriber  avgt   25     39.377 ±    2.749  ms/op
ReadOneMillionNumbers.fs2StreamSubscriber      avgt   25  11189.737 ± 2213.225  ms/op

Installation

libraryDependencies += "ru.dokwork" %% "fast-reactive-fs2" % "0.1.0"

Usage

val publisher: Publisher[A] = ???
val stream: fs2.Stream[F, A] = StreamSubscriber.subscribe[F, A](publisher)
You can’t perform that action at this time.