-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Query Execution
This variant can wrap the calls to op.processBlock so that it works on contiguous items that are selected by the bitmask, e.g.
while (cursor < end) { while (cursor < end && !bitmap[cursor]) cursor++; if (cursor < end) { size_t chunkEnd = cursor+1; while (chunkEnd < end && bitmap[chunkEnd]) chunkEnd++; op.processBatch(..., vals.data()+cursor, chunkEnd - cursor); cursor = chunkEnd; } }
After that API is in place, the current implementation of the mathematical expressions can reuse it