Skip to content

Commit effe7c7

Browse files
committed
reducing loops again
1 parent 0a4643c commit effe7c7

File tree

1 file changed

+2
-2
lines changed
  • deprecated/stately-isolate/src/commonTest/kotlin/co/touchlab/stately/isolate

1 file changed

+2
-2
lines changed

deprecated/stately-isolate/src/commonTest/kotlin/co/touchlab/stately/isolate/IsoStateTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class IsoStateTest {
1717
val ops = ThreadOperations {}
1818

1919
val isoList = IsolateState { mutableListOf<SomeData>() }
20-
repeat(100_000) { rcount ->
20+
repeat(5_000) { rcount ->
2121
ops.exe {
2222
isoList.access { l ->
2323
l.add(SomeData("arst $rcount"))
@@ -31,7 +31,7 @@ class IsoStateTest {
3131
l.size
3232
}
3333

34-
assertEquals(100_000, lsize)
34+
assertEquals(5_000, lsize)
3535
}
3636

3737

0 commit comments

Comments
 (0)