Less brandhes.
This commit is contained in:
parent
7968e08658
commit
772cdca462
@ -108,7 +108,7 @@ void MPHIndex::Assigning(
|
|||||||
const vector<TriGraph::Edge>& edges, const vector<uint32_t>& queue) {
|
const vector<TriGraph::Edge>& edges, const vector<uint32_t>& queue) {
|
||||||
uint32_t current_edge = 0;
|
uint32_t current_edge = 0;
|
||||||
vector<bool> marked_vertices(n_ + 1);
|
vector<bool> marked_vertices(n_ + 1);
|
||||||
dynamic_2bitset().swap(g_);
|
dynamic_2bitset(8, true).swap(g_);
|
||||||
// Initialize vector of half nibbles with all bits set.
|
// Initialize vector of half nibbles with all bits set.
|
||||||
dynamic_2bitset g(n_, true /* set bits to 1 */);
|
dynamic_2bitset g(n_, true /* set bits to 1 */);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user