From 015ff514e18bdcd016f7175202286ac4c0d42831 Mon Sep 17 00:00:00 2001 From: James Iry Date: Wed, 6 Feb 2013 13:33:11 -0800 Subject: [nomaster] Revert "SI-5017 Poor performance of :+ operator on Arrays" This reverts commit 02b2da63409af6a28824cbb74d00d0ec04518c8d. --- test/files/run/array-addition.check | 4 ---- test/files/run/array-addition.scala | 11 ----------- 2 files changed, 15 deletions(-) delete mode 100644 test/files/run/array-addition.check delete mode 100644 test/files/run/array-addition.scala (limited to 'test/files/run') diff --git a/test/files/run/array-addition.check b/test/files/run/array-addition.check deleted file mode 100644 index 7bfbd9c711..0000000000 --- a/test/files/run/array-addition.check +++ /dev/null @@ -1,4 +0,0 @@ -Array(1, 2, 3, 4) -Array(1, 2, 3, 4) -Array(1) -Array(1) diff --git a/test/files/run/array-addition.scala b/test/files/run/array-addition.scala deleted file mode 100644 index 8def48e85c..0000000000 --- a/test/files/run/array-addition.scala +++ /dev/null @@ -1,11 +0,0 @@ -object Test { - def prettyPrintArray(x: Array[_]) = println("Array(" + x.mkString(", ") + ")") - - def main(args: Array[String]): Unit = { - prettyPrintArray(Array(1,2,3) :+ 4) - prettyPrintArray(1 +: Array(2,3,4)) - prettyPrintArray(Array() :+ 1) - prettyPrintArray(1 +: Array()) - } -} - -- cgit v1.2.3