introduce bitloops
This commit is contained in:
@@ -110,11 +110,7 @@ public final class DictJavaGeneratorMulti {
|
||||
static final class ShardBuilder {
|
||||
|
||||
int c;
|
||||
int addRecord() {
|
||||
val currSize = c;
|
||||
c++;
|
||||
return currSize;
|
||||
}
|
||||
int addRecord() { return c++; }
|
||||
}
|
||||
|
||||
private static void writeAggregator(Path outDir, String pkg, String cls, int totalLen, int thress) throws IOException {
|
||||
@@ -262,9 +258,7 @@ public final class DictJavaGeneratorMulti {
|
||||
StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING, StandardOpenOption.WRITE);
|
||||
}
|
||||
|
||||
private static String toLongLiteral(long v) {
|
||||
return "0x" + Long.toUnsignedString(v, 16) + "L";
|
||||
}
|
||||
private static String toLongLiteral(long v) { return "0x" + Long.toUnsignedString(v, 16) + "L"; }
|
||||
public static final class CsvIndexService {
|
||||
|
||||
static int SIMPEL_IDX = 2;
|
||||
|
||||
Reference in New Issue
Block a user