add another specialization to make this faster

This commit is contained in:
Greg Landrum
2012-09-21 05:33:51 +00:00
parent f191b965a8
commit 204029ce08
2 changed files with 7 additions and 1 deletions

View File

@@ -174,7 +174,12 @@ bool AllProbeBitsMatch(const T1 &probe,const T1 &ref){
return true;
}
template bool AllProbeBitsMatch(const SparseBitVect& bv1,const SparseBitVect& bv2);
template bool AllProbeBitsMatch(const ExplicitBitVect& bv1,const ExplicitBitVect &bv2);
//template bool AllProbeBitsMatch(const ExplicitBitVect& bv1,const ExplicitBitVect &bv2);
bool AllProbeBitsMatch(const ExplicitBitVect& probe,const ExplicitBitVect &ref){
return probe.dp_bits->is_subset_of(*(ref.dp_bits));
}
// """ -------------------------------------------------------
//