@@ -72,7 +72,7 @@ sealed trait Tuple extends Any {
7272 val u = that.asInstanceOf [Tuple2 [_, _]]
7373 Tuple4 (t._1, t._2, u._1, u._2).asInstanceOf [Result ]
7474 case _ =>
75- genericConcat [Result ](this , that). asInstanceOf [ Result ]
75+ knownTupleFromArray [Result ](this .toArray ++ that.toArray)
7676 }
7777 case Some (3 ) =>
7878 val t = asInstanceOf [Tuple3 [_, _, _]]
@@ -82,19 +82,16 @@ sealed trait Tuple extends Any {
8282 val u = that.asInstanceOf [Tuple1 [_]]
8383 Tuple4 (t._1, t._2, t._3, u._1).asInstanceOf [Result ]
8484 case _ =>
85- genericConcat [Result ](this , that). asInstanceOf [ Result ]
85+ knownTupleFromArray [Result ](this .toArray ++ that.toArray)
8686 }
8787 case Some (_) =>
8888 if (constValue[BoundedSize [that.type ]] == 0 ) this .asInstanceOf [Result ]
89- else genericConcat [Result ](this , that). asInstanceOf [ Result ]
89+ else knownTupleFromArray [Result ](this .toArray ++ that.toArray)
9090 case None =>
9191 runtime.DynamicTuple .dynamic_++ [This , that.type ](this , that)
9292 }
9393 }
9494
95- inline def genericConcat [T <: Tuple ](xs : Tuple , ys : Tuple ): Tuple =
96- knownTupleFromArray[T ](xs.toArray ++ ys.toArray)
97-
9895 inline def size [This >: this .type <: Tuple ]: Size [This ] = {
9996 type Result = Size [This ]
10097 inline constValueOpt[BoundedSize [this .type ]] match {
0 commit comments