Skip to content

Commit

Permalink
bigloo: Use -Obench; I assume that's the fastest
Browse files Browse the repository at this point in the history
  • Loading branch information
offby1 committed Jan 24, 2016
1 parent 4cc6453 commit 989198e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ scheme/ikarus/out
scheme/plt-v4/Ernest Hemingway
scheme/plt-v4/compiled
/perl/perl6/dict.cache
/scheme/bigloo/anagrams
*.o
/scheme/bigloo/cached-dictionary
8 changes: 4 additions & 4 deletions scheme/bigloo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@

anagrams: $(addsuffix .o,anagrams bag dict)

# -g enables assertions
BIGLOO=bigloo -Obench
%.o : %.scm
bigloo -g -g4 -c $^
$(BIGLOO) -c $^

% : %.o
bigloo -g4 -o $@ $^
$(BIGLOO) -o $@ $^

check: anagrams
time LD_LIBRARY_PATH=/usr/local/lib:$(LD_LIBRARY_PATH) ./$^ "Ernes Hemingway" > /dev/null
time LD_LIBRARY_PATH=/usr/local/lib:$(LD_LIBRARY_PATH) ./$^ "Ernest Hemingway" > /dev/null

clean:
rm -f anagrams *.o cached-dictionary
Expand Down

0 comments on commit 989198e

Please sign in to comment.