From 312ca5d917ffff51e2eff20c67b3dd6cbe129da8 Mon Sep 17 00:00:00 2001 From: orbiter Date: Fri, 26 Mar 2010 10:41:20 +0000 Subject: [PATCH] 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 --- source/net/yacy/kelondro/blob/HeapWriter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/kelondro/blob/HeapWriter.java b/source/net/yacy/kelondro/blob/HeapWriter.java index 67a551a88..bf7fc81d7 100644 --- a/source/net/yacy/kelondro/blob/HeapWriter.java +++ b/source/net/yacy/kelondro/blob/HeapWriter.java @@ -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) {