We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00898c2 commit 0a92742Copy full SHA for 0a92742
examples/benchmarks/are_we_fast_yet/storage.effekt
@@ -31,7 +31,7 @@ def run(n: Int) = {
31
def buildTreeDepth(depth: Int) { rand: Random }: Tree = {
32
count.set(count.get + 1);
33
if (depth == 1) {
34
- Leaf(array(mod(rand.next, 10) + 1, 0))
+ Leaf(array::unsafeAllocate(mod(rand.next, 10) + 1))
35
} else {
36
Node(
37
buildTreeDepth(depth - 1){ rand },
0 commit comments