all better

This commit is contained in:
Arya Irani 2018-07-08 23:48:45 -04:00
parent a91b6c81a8
commit 7ddd0c11d7

View File

@ -74,7 +74,7 @@ object CompilationBenchmarks {
val env = (new Array[U](20), new Array[B](20), StackPtr.empty, Result())
profile("triangle stream .foldLeft(plusU)") {
Stream.fromInt64(0).take(N(triangleCount))
.foldLeft(Value(0))(plusU(env)) match {
.foldLeft(Value(0))(plusU.tupled(env)) match {
case Value.Unboxed(n, _) => n
}
}