Skip to content

Commit

Permalink
Remove confusing comments in partitioning.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
chasingegg committed Oct 20, 2023
1 parent 0a00d81 commit 3d6e7fc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions faiss/utils/partitioning.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -750,8 +750,6 @@ typename C::T partition_fuzzy(
size_t q_min,
size_t q_max,
size_t* q_out) {
// the code below compiles and runs without AVX2 but it's slower than
// the scalar implementation
#ifdef __AVX2__
constexpr bool is_uint16 = std::is_same<typename C::T, uint16_t>::value;
if (is_uint16 && is_aligned_pointer(vals)) {
Expand Down

0 comments on commit 3d6e7fc

Please sign in to comment.