mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 15:19:59 +07:00
[ijent benchmarks] AT-876 Benchmark test on newByteChannel
GitOrigin-RevId: 0e7da059b819d14d135e11a2eb7da3f18bd13ee2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
87ee443fdc
commit
508244fa66
@@ -88,4 +88,10 @@ suspend fun <TInput, TOutput> Iterable<TInput>.mapConcurrently(
|
||||
}
|
||||
}
|
||||
}.awaitAll()
|
||||
}
|
||||
}
|
||||
|
||||
/** @see [mapConcurrently]] */
|
||||
suspend fun <TInput, TOutput> Sequence<TInput>.mapConcurrently(
|
||||
maxConcurrency: Int,
|
||||
transform: suspend (TInput) -> TOutput,
|
||||
) = this.asIterable().mapConcurrently(maxConcurrency, transform)
|
||||
Reference in New Issue
Block a user