]> git.ipfire.org Git - thirdparty/vectorscan.git/commitdiff
UE-2963: be more aggressive in using buildSufPQ_final()
authorAlex Coyte <a.coyte@intel.com>
Tue, 17 May 2016 05:05:42 +0000 (15:05 +1000)
committerMatthew Barr <matthew.barr@intel.com>
Fri, 8 Jul 2016 00:45:06 +0000 (10:45 +1000)
src/rose/catchup.c

index 2460f086e1814fab374a213f3288b6967e40ab0a..c61079a8f84be247e8e09e6d6d4468cc00ad6d91 100644 (file)
@@ -787,7 +787,7 @@ hwlmcb_rv_t buildSufPQ(const struct RoseEngine *t, char *state, s64a safe_loc,
             = scratch->catchup_pq.qm_size ? pq_top_loc(&scratch->catchup_pq)
                                           : safe_loc;
         second_place_loc = MIN(second_place_loc, safe_loc);
-        if (n_qi == MMB_INVALID && report_ok_loc < second_place_loc) {
+        if (n_qi == MMB_INVALID && report_ok_loc <= second_place_loc) {
             if (buildSufPQ_final(t, report_ok_loc, second_place_loc, final_loc,
                                  scratch, aa, a_qi)
                 == HWLM_TERMINATE_MATCHING) {