We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6762569 commit 12d0c58Copy full SHA for 12d0c58
frameworks/Kotlin/ktor/ktor-r2dbc/src/main/kotlin/org/jetbrains/ktor/benchmarks/Hello.kt
@@ -127,12 +127,6 @@ fun Application.main() {
127
val random = Random.Default
128
129
val worlds = selectWorlds(queries, random)
130
- val worldsUpdated = ArrayList<World>(queries)
131
-
132
- worlds.collect { world ->
133
- world.randomNumber = random.nextInt(DB_ROWS) + 1
134
- worldsUpdated.add(world)
135
- }
136
137
val worldsUpdated = buildList {
138
worlds.collect { world ->
0 commit comments