introduce bitloops

This commit is contained in:
mike
2026-01-21 05:13:39 +01:00
parent 92a736aa0a
commit f203f2106e
11 changed files with 97 additions and 108 deletions

View File

@@ -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");