Skip to content
#

fp

Here are 412 public repositories matching this topic...

fs2
Daenyth
Daenyth commented Jul 16, 2020

It should cover when you'd use and how to use:

  • parEvalMap/Unordered
  • parJoin
  • concurrently
  • merge*

There's the page on Queue/Topic/etc but there's not a great single page on the operations directly on Stream. The Guide section on concurrency is very short and doesn't cover some of the most common operations (parEvalMap especially)

sergeykolbasov
sergeykolbasov commented Nov 28, 2020

Hello there

At the moment, Clock[F].realTime is platform-independent and relies on System.currecurrentTimeMillis(). It means, that the maximum precision for getting wall-clock time is limited to milliseconds.

I'd suggest having a JVM-specific implementation that relies on java.time.Instant.now() instead, as starting from Java 9 it's up to the nanoseconds precise time resolution.

An

Munzey
Munzey commented Nov 24, 2020

I tried to add a benchmark test for suspendable binding but ended up with cyclical dependencies trying to have kotlin-result jvmBenchmark source set depend on kotlin-result-coroutine project (which already depends on kotlin-result).

Would make life a lot easier to just move benchmarking to its own subproject. It would also simplify the current kotlin-result gradle file which has a bunch

Improve this page

Add a description, image, and links to the fp topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the fp topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.