src/Shared/EntityFramework/Core/Query/InternalTrees/VarVec.cs
// <summary>
// Does this Vec include every var in the other vec?
// Written this way deliberately under the assumption that "other"
// is a relatively small vec
// </summary>
Does this Vec include every var in the other vec.
Written this way deliberately under the assumption that "other"
is a relatively small vec
Does this Vec include every var in the other vec . Written this way deliberately under the assumption that " other " is a relatively small vec
internal bool Subsumes(VarVec other)
        {
            for (var i = 0; i < other.m_bitVector.Length; i++)
            {
                if (other.m_bitVector[i]
                    && ((i >= m_bitVector.Length) || !m_bitVector[i]))
                {
                    return false;
                }
            }
            return true;
        }
internal bool Subsumes ( VarVec other ) { for ( var i = 0 ; i < other . m_bitVector . Length ; i ++ ) { if ( other . m_bitVector [ i ] && ( ( i >= m_bitVector . Length ) || ! m_bitVector [ i ] ) ) { return false ; } } return true ; }
Does this Vec include every var in the other vec?
Does this Vec include every var in the other vec?
other
VarVec