Commit 6221a9a5 authored by Kirill Terekhov's avatar Kirill Terekhov

Faster structures for nonlocal elements in RowMerger

parent d5238a96
......@@ -194,7 +194,7 @@ namespace INMOST
{
if( pos < IntervalBeg )
{
return ENUMUNDEF;
//return ENUMUNDEF;
//assert(!NonlocalPre.empty()); //there are indices provided
std::vector< INMOST_DATA_ENUM_TYPE >::const_iterator search = std::lower_bound(NonlocalPre.begin(),NonlocalPre.end(),pos);
//assert(*search == pos); //is there such index?
......@@ -205,7 +205,7 @@ namespace INMOST
}
else if( pos >= IntervalEnd )
{
return ENUMUNDEF;
//return ENUMUNDEF;
//assert(!NonlocalPost.empty()); //there are indices provided
std::vector< INMOST_DATA_ENUM_TYPE >::const_iterator search = std::lower_bound(NonlocalPost.begin(),NonlocalPost.end(),pos);
//assert(*search == pos); //is there such index?
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment