Skip to content

Commit

Permalink
Override buildCompression for 2dgrid in Bench
Browse files Browse the repository at this point in the history
  • Loading branch information
jkni committed Jul 2, 2024
1 parent edd396d commit f352a2a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ public static void main(String[] args) throws IOException {
if (pattern.matcher("2dgrid").find()) {
searchCompression = Arrays.asList(__ -> CompressorParameters.NONE,
ds -> new PQParameters(ds.getDimension(), 256, true, UNWEIGHTED));
buildCompression = Arrays.asList(__ -> CompressorParameters.NONE);
var grid2d = DataSetCreator.create2DGrid(4_000_000, 10_000, 100);
Grid.runAll(grid2d, mGrid, efConstructionGrid, featureSets, buildCompression, searchCompression, efSearchGrid);
}
Expand Down

0 comments on commit f352a2a

Please sign in to comment.