blob: 35b3233055e3f8d3b4f75a1ed24236185fe8f82e (
plain) (
tree)
|
|
import scala.collection.mutable._;
object Test extends Application {
val buf = new ArrayBuffer[String];
for(val i <- List.range(0,1000)) {
buf += "hello";
}
Console.println("1000 = " + buf.length);
}
|