Skip to content
Snippets Groups Projects
Commit 4983727f authored by Neil Kindlon's avatar Neil Kindlon
Browse files

Fixed bug164, closest runs slower with -id

parent effc83ef
No related branches found
No related tags found
No related merge requests found
...@@ -189,13 +189,11 @@ CloseSweep::rateOvlpType CloseSweep::considerRecord(const Record *cacheRec, int ...@@ -189,13 +189,11 @@ CloseSweep::rateOvlpType CloseSweep::considerRecord(const Record *cacheRec, int
} }
// HIT IS DOWNSTREAM. // HIT IS DOWNSTREAM.
// MUST FIRST DETERMINE WHETHER TO STOP SCANNING. // MUST FIRST DETERMINE WHETHER TO STOP SCANNING.
if (currDist> abs(_minDownstreamDist[dbIdx])) { if (_context->ignoreDownstream() || currDist> abs(_minDownstreamDist[dbIdx])) {
stopScanning = true; stopScanning = true;
return IGNORE; return IGNORE;
} }
if (_context->ignoreDownstream()) {
return IGNORE;
}
//Still here? Valid hit. //Still here? Valid hit.
if (currDist <= abs(_minDownstreamDist[dbIdx])) { if (currDist <= abs(_minDownstreamDist[dbIdx])) {
if (currDist< abs(_minDownstreamDist[dbIdx])) { if (currDist< abs(_minDownstreamDist[dbIdx])) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment