Gather data

This commit is contained in:
mike
2026-01-10 01:40:42 +01:00
parent b698b9e8be
commit 7cd40c90be
3 changed files with 10 additions and 10 deletions

View File

@@ -74,7 +74,7 @@ public record Export() {
record Bit1029(long[] bits) {
public Bit1029() { this(new long[1029]); }
public Bit1029() { this(new long[2048]); }
static int wordIndex(int bitIndex) { return bitIndex >> 6; }
public boolean get(int bitIndex) { return (this.bits[wordIndex(bitIndex)] & 1L << bitIndex) != 0L; }
public void set(int bitIndex) { bits[wordIndex(bitIndex)] |= 1L << bitIndex; }