Skip to content

Commit 55f902f

Browse files
authored
turn off parallel writes in grid (#582)
Temporarily disabling parallel writes, awaiting more review and benchmarking.
1 parent 019a241 commit 55f902f

File tree

1 file changed

+0
-2
lines changed
  • jvector-examples/src/main/java/io/github/jbellis/jvector/example

1 file changed

+0
-2
lines changed

jvector-examples/src/main/java/io/github/jbellis/jvector/example/Grid.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,6 @@ private static BuilderWithSuppliers builderWithSuppliers(Set<FeatureId> features
308308
var builder = new OnDiskGraphIndexWriter.Builder(onHeapGraph, outPath);
309309
builder.withMapper(identityMapper);
310310

311-
// Enable parallel writes for improved throughput
312-
builder.withParallelWrites(true);
313311
Map<FeatureId, IntFunction<Feature.State>> suppliers = new EnumMap<>(FeatureId.class);
314312
for (var featureId : features) {
315313
switch (featureId) {

0 commit comments

Comments
 (0)