removed flush at end of every rwi entry since this reduces the write performance.

This should speed up RWI cache dump and RWI merge operations and should cause less blocking time during these processes for the indexer.

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6771 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 15 years ago
parent 0018163c07
commit 312ca5d917

@ -110,7 +110,7 @@ public final class HeapWriter {
os.write(blob);
//assert (this.doublecheck.add(new String(key))) : "doublecheck failed for " + new String(key);
this.seek += chunkl + 4;
os.flush(); // necessary? may cause bad IO performance :-(
//os.flush(); // necessary? may cause bad IO performance :-(
}
protected static File fingerprintIndexFile(File f, String fingerprint) {

Loading…
Cancel
Save