introduce bitloops

This commit is contained in:
mike
2026-01-14 14:17:01 +01:00
parent b29831859b
commit 29aceb2180
2 changed files with 3 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ public record SwedishGenerator(Rng rng, int[] stack, Clues cache) {
static final double SIZED = (double) SIZE;// ~18
static final long MASK_LO = (SIZE >= 64) ? -1L : (1L << SIZE) - 1;
static final long MASK_HI = (SIZE <= 64) ? 0L : (SIZE >= 128 ? -1L : (1L << (SIZE - 64)) - 1);
static final int TARGET_CLUES = SIZE >>> 2;
static final int TARGET_CLUES = 24;
static final int MAX_WORD_LENGTH = C <= R ? C : R;
static final int MAX_WORD_LENGTH_PLUS_ONE = MAX_WORD_LENGTH + 1;
static final int MIN_LEN = Config.MIN_LEN;