introduce bitloops
This commit is contained in:
@@ -7,7 +7,6 @@ import lombok.NoArgsConstructor;
|
||||
import lombok.val;
|
||||
import puzzle.Masker.Clues;
|
||||
import puzzle.SwedishGenerator.Rng;
|
||||
import puzzle.dict800.DictData;
|
||||
|
||||
import static puzzle.Export.*;
|
||||
import static puzzle.SwedishGenerator.*;
|
||||
@@ -80,10 +79,10 @@ public class Main {
|
||||
System.out.print(indentLines(res.clues().gridToString(), " "));
|
||||
|
||||
section("Grid (raw)");
|
||||
System.out.print(indentLines(res.grid().gridToString(res.clues().c()), " "));
|
||||
System.out.print(indentLines(res.grid().gridToString(), " "));
|
||||
|
||||
section("Grid (human)");
|
||||
System.out.print(indentLines(res.grid().renderHuman(res.clues().c()), " "));
|
||||
System.out.print(indentLines(res.grid().renderHuman(), " "));
|
||||
|
||||
var exported = res.exportFormatFromFilled(new Rewards(50, 2, 1));
|
||||
|
||||
@@ -247,7 +246,7 @@ public class Main {
|
||||
PuzzleResult generatePuzzle(Opts opts) {
|
||||
|
||||
var tLoad0 = System.nanoTime();
|
||||
var dict = DictData.DICT800;//loadDict(opts.wordsPath);
|
||||
var dict = puzzle.dict800.DictData.DICT800;//loadDict(opts.wordsPath);
|
||||
var tLoad1 = System.nanoTime();
|
||||
|
||||
section("Load");
|
||||
|
||||
Reference in New Issue
Block a user