Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Compile code with native flag, giving a speed improvement.

  • Loading branch information...
commit b7ce2abb6ca013850ed8f3e8fd7f5f6be7004cbb 1 parent c33e19e
Andreas Pauley authored March 26, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  sudoku
4  sudoku
@@ -2,8 +2,8 @@
2 2
 -import(sudoku, [print_results/2]).
3 3
 
4 4
 main(Args) ->
5  
-    {ok, sudoku} = compile:file(sudoku),
6  
-    {ok, unittests} = compile:file(unittests),
  5
+    {ok, sudoku} = compile:file(sudoku, [native]),
  6
+    {ok, unittests} = compile:file(unittests, [native]),
7 7
     run_solver(Args).
8 8
 
9 9
 run_solver([]) ->

0 notes on commit b7ce2ab

Please sign in to comment.
Something went wrong with that request. Please try again.