2009-03-01から1ヶ月間の記事一覧
$ cat a.scala import scala.concurrent.ops._ import java.lang.System.{currentTimeMillis => curt} def foo(n: Int) = { (0 until n).foreach { _ => new Object } } def bench(weight: Int, ncore: Int) { val s = curt (0 until ncore).map(_ => future…
作ってみました。(圧縮のみ)http://gist.github.com/78052