284285286287288289290291292293294
if (rootsArray[i] == -1) { continue; } int lookupIndex = pointerLookup.findFirstEqualKeyIndex(rootsArray[i]); if (lookupIndex == -1) { throw Error.error(ErrorCode.DATA_FILE_ERROR); }
202203204205206207208209210211212
StopWatch sw = new StopWatch(); try { for (j = 0; j < 10000; j++) { for (i = 0; i < sample.length; i++) { int pos = intLookup.findFirstEqualKeyIndex(sample[i]); sampleVals[i] = intLookup.getValue(pos); intLookup.remove(pos); }
216217218219220221222223224225226
} } System.out.println( sw.elapsedTimeToMessage("Double int table times")); intLookup.findFirstEqualKeyIndex(0); // sort compareByHIteratorInt(intLookup, hIntMap); } catch (Exception e) { System.out.println( sw.elapsedTimeToMessage("Double int table error: i =" + i));
255256257258259260261262263264265
if (rootsArray[i] == -1) { continue; } int lookupIndex = pointerLookup.findFirstEqualKeyIndex(rootsArray[i]); if (lookupIndex == -1) { throw Trace.error(Trace.DATA_FILE_ERROR); }
258259260261262263264265266267268
254255256257258259260261262263264