Less brandhes.

This commit is contained in:
Davi de Castro Reis 2012-06-09 03:11:22 -03:00
parent 7968e08658
commit 772cdca462

View File

@ -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 */);