mirror of
https://github.com/unisonweb/unison.git
synced 2024-11-13 22:29:35 +03:00
all better
This commit is contained in:
parent
a91b6c81a8
commit
7ddd0c11d7
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user