James Eschner
05/10/2023, 4:47 PMval myList: List<String> = ...
myList.forEach {
test("for-each element: $it") {
// assertions here
}
}
vs
test("for the entire list") {
myList.forEach {
// assertions here
}
}
Ignoring any design-considerations, would we expect there to be a noticeable difference here? What if the list had 100k elements? 100million elements?
* Not a contribution *