mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
no more regressing nqueens on purpose
This commit is contained in:
parent
556fc56913
commit
0c52d1fb57
2 changed files with 2 additions and 2 deletions
|
@ -96,7 +96,7 @@ pub fn bench_nqueens<T: Measurement>(bench_group_opt: Option<&mut BenchmarkGroup
|
||||||
&example_file("benchmarks", "NQueens.roc"),
|
&example_file("benchmarks", "NQueens.roc"),
|
||||||
"11",
|
"11",
|
||||||
"nqueens",
|
"nqueens",
|
||||||
"14200\n", //2680-14200
|
"2680\n", //2680-14200
|
||||||
bench_group_opt,
|
bench_group_opt,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@ app "nqueens"
|
||||||
main : Task.Task {} []
|
main : Task.Task {} []
|
||||||
main =
|
main =
|
||||||
Task.after Task.getInt \n ->
|
Task.after Task.getInt \n ->
|
||||||
queens 12 # original koka 13
|
queens n # original koka 13
|
||||||
|> Str.fromInt
|
|> Str.fromInt
|
||||||
|> Task.putLine
|
|> Task.putLine
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue