]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/engine/Index.java
More compact row list format.
[Dictionary.git] / src / com / hughes / android / dictionary / engine / Index.java
index cb29bac28ab989a40d6f12c7d647f77b39c974ab..63867081a6623aa60ec344ce33b8b3fea2d562df 100644 (file)
@@ -160,11 +160,7 @@ public final class Index implements RAFSerializable<Index> {
         }
         RAFList.write(raf, sortedIndexEntries, indexEntrySerializer, 16, true);
         new SerializableSerializer<Set<String>>().write(raf, stoplist);
-        UniformRAFList.write(raf, rows, new RowBase.Serializer(this), 5 /*
-                                                                                               * bytes
-                                                                                               * per
-                                                                                               * entry
-                                                                                               */);
+        UniformRAFList.write(raf, rows, new RowBase.Serializer(this), 3 /* bytes per entry */);
     }
 
     public void print(final PrintStream out) {