Skip to content

Commit 174f6e9

Browse files
Update library/src/scala/runtime/DynamicTuple.scala
Co-Authored-By: Nicolas Stucki <[email protected]>
1 parent 70074d7 commit 174f6e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/src/scala/runtime/DynamicTuple.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ object DynamicTuple {
253253
if (t1.size == 0 || t2.size == 0) ().asInstanceOf[Zip[This, T2]]
254254
else Tuple.fromArray(
255255
t1.asInstanceOf[Product].productIterator.zip(
256-
t2.asInstanceOf[Product].productIterator).toArray
256+
t2.asInstanceOf[Product].productIterator).toArray // TODO use toIArray of Object to avoid double/triple array copy
257257
).asInstanceOf[Zip[This, T2]]
258258
}
259259

0 commit comments

Comments
 (0)