(int[] table, int index, int value)
| 24 | } |
| 25 | |
| 26 | public static void setPruning(int[] table, int index, int value) { |
| 27 | table[index >> 3] ^= (15 ^ value) << ((index & 7) << 2); |
| 28 | } |
| 29 | |
| 30 | public static int getBit(int[] arr, int idx) { |
| 31 | return arr[idx >> 5] & (1 << (idx & 0x1f)); |