introduce bitloops

This commit is contained in:
mike
2026-01-14 18:49:52 +01:00
parent 75f599318a
commit 70b2009723

View File

@@ -371,7 +371,7 @@ public class Main {
static PuzzleResult _attempt(Rng rng, Dict dict, Opts opts) {
TOTAL_ATTEMPTS.incrementAndGet();
var swe = new SwedishGenerator(rng, new int[STACK_SIZE], Clues.createEmpty());
var mask = swe.generateMask(opts.clueSize, opts.pop, opts.gens, opts.offspring);
var mask = swe.generateMask(opts.clueSize, opts.pop, opts.gens, Math.max(opts.offspring, (int) Math.floor(1.5 * opts.pop)));
var filled = fillMask(rng, extractSlots(mask, dict.index()), mask.toGrid());