Reducing cache misses during contraction
This commit is contained in:
parent
2c14d34f59
commit
a1affa6330
@ -351,7 +351,7 @@ public:
|
|||||||
for ( int position = firstIndependent ; position < last; ++position ) {
|
for ( int position = firstIndependent ; position < last; ++position ) {
|
||||||
NodeID x = remainingNodes[position].first;
|
NodeID x = remainingNodes[position].first;
|
||||||
_Contract< false > ( data, x );
|
_Contract< false > ( data, x );
|
||||||
nodePriority[x] = -1;
|
//nodePriority[x] = -1;
|
||||||
}
|
}
|
||||||
std::sort( data->insertedEdges.begin(), data->insertedEdges.end() );
|
std::sort( data->insertedEdges.begin(), data->insertedEdges.end() );
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user