MCPcopy Create free account
hub / github.com/bytedance/bolt / intersect

Method intersect

bolt/vector/SelectivityVector.h:203–207  ·  view source on GitHub ↗

* Removes rows that are not present in the 'other' vector. */

Source from the content-addressed store, hash-verified

201 * Removes rows that are not present in the 'other' vector.
202 */
203 void intersect(const SelectivityVector& other) {
204 bits::andBits(
205 bits_.data(), other.bits_.data(), begin_, std::min(end_, other.size()));
206 updateBounds();
207 }
208
209 /**
210 * Merges the valid vector of another SelectivityVector by !AND'ing them

Callers 4

nextMethod · 0.80
TESTFunction · 0.80
BM_mergeFunction · 0.80
evalWithMemoMethod · 0.80

Calls 4

andBitsFunction · 0.85
minFunction · 0.50
dataMethod · 0.45
sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64