Skip to content

Commit 48259d4

Browse files
committed
Removing unnecessary line.
1 parent 3f581e4 commit 48259d4

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/benchintersection.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,8 +398,7 @@ static size_t _original_intersect_vector16(const uint16_t *A, const uint16_t *B,
398398
if ((i_a < st_a) and (i_b < st_b)) {
399399
v_a = _mm_loadu_si128((const __m128i *)&A[i_a]);
400400
v_b = _mm_loadu_si128((const __m128i *)&B[i_b]);
401-
if ((i_a < st_a) and (i_b < st_b))
402-
while (true) {
401+
while (true) {
403402
const __m128i res_v = _mm_cmpestrm(
404403
v_b, 16, v_a, 16,
405404
_SIDD_UWORD_OPS | _SIDD_CMP_EQUAL_ANY | _SIDD_BIT_MASK);
@@ -421,7 +420,7 @@ static size_t _original_intersect_vector16(const uint16_t *A, const uint16_t *B,
421420
break;
422421
v_b = _mm_loadu_si128((const __m128i *)&B[i_b]);
423422
}
424-
}
423+
}
425424
}
426425
// intersect the tail using scalar intersection
427426
while (i_a < s_a && i_b < s_b) {

0 commit comments

Comments
 (0)