Skip to content

Commit

Permalink
removing unnecessary todo comments
Browse files Browse the repository at this point in the history
  • Loading branch information
benwtrent committed Sep 20, 2024
1 parent 9e3b099 commit 979caf6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,6 @@ static DocsWithFieldSet writeBinarizedVectorData(
if (vectorOrdToClusterOrdWriter != null) {
vectorOrdToClusterOrdWriter.add(binarizedByteVectorValues.clusterId());
}
// TODO handle quantization output correctly
float[] corrections = binarizedByteVectorValues.getCorrectiveTerms();
for (int i = 0; i < corrections.length; i++) {
output.writeInt(Float.floatToIntBits(corrections[i]));
Expand Down Expand Up @@ -1145,7 +1144,6 @@ public int sumQuantizedValues(int targetOrd, int centroidOrd) throws IOException
return sumQuantizationValues[centroidOrd];
}
// load values
// todo improve
vectorValue(targetOrd, centroidOrd);
return sumQuantizationValues[centroidOrd];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ public abstract class OffHeapBinarizedVectorValues extends BinarizedByteVectorVa
private final int correctionsCount;
protected final LongValues vectorOrdToCentroidOrd;

// TODO do we want to use `LongValues` to store vectorOrd -> centroidOrd mapping?
OffHeapBinarizedVectorValues(
int dimension,
int size,
Expand Down

0 comments on commit 979caf6

Please sign in to comment.