introduce bitloops

This commit is contained in:
mike
2026-01-12 21:47:27 +01:00
parent 8e7b29a2d3
commit 88a61e6f4d
4 changed files with 5 additions and 11 deletions

View File

@@ -129,7 +129,6 @@ public record Export() {
static class Bit {
static long pack(int r, int c) { return (((long) r) << 32) ^ (c & 0xFFFFFFFFL); }
long l1, l2;
public boolean get(int bitIndex) {
if ((bitIndex & 64) == 0) return (l1 & (1L << bitIndex)) != 0L;