introduce bitloops

This commit is contained in:
mike
2026-01-14 23:26:54 +01:00
parent 04e3844732
commit e8711b30a1
4 changed files with 10 additions and 23 deletions

View File

@@ -287,12 +287,6 @@ public record SwedishGenerator(Rng rng, int[] stack, Clues cache) {
final byte[] g;
public long lo, hi;
static int offset(int r, int c) { return r | (c << 3); }
/// the pos will never target a clue
void setLetterLo(int idx, byte ch) {
lo |= (1L << idx);
g[idx] = ch;
}
}
static record DictEntry(long[] words, long[][] posBitsets, int length, int numlong) { }