Combine and zip rework (#2308)
* Rework Flow.zip operator: improve its performance by 40%, collect one of the upstreams in the same coroutine as emitter
* Rework Flow.combine
* Get rid of two code paths
* Get rid of accidental O(N^2) where N is the number of flows that caused #2296
* Get rid of select that hits performance hard, improving performance by 50% in the pessimistic case
* Get rid of crossinlines in API and implementation to fix Android issues
* Make combine fairer and its results less surprising in sequential scenarios
* Improve stacktrace recovery and stackwalking for SafeCollector, flowOn and zip operators
* Update JMH
Fixes #1743
Fixes #1683
Fixes #2296
diff --git a/settings.gradle b/settings.gradle
index d22d65f..3a07891 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -8,7 +8,7 @@
// JMH
id "net.ltgt.apt" version "0.21"
- id "me.champeau.gradle.jmh" version "0.5.0"
+ id "me.champeau.gradle.jmh" version "0.5.2"
}
}