Skip to content

perf: uses bitmask for where clause #6

Description

@dzmitry-lahoda
* Improvement: Modern engines (like DuckDB or ClickHouse) use Vectorized
     Execution. Instead of Iterator<Item = Tuple>, operators should consume and emit
     batches of SoA data (e.g., 1024 rows at a time). 
       * Where clause: Instead of branching (if match { yield }), compute a boolean
         bitmask over the batch and filter the arrays using SIMD.
       * This yields massive CPU cache locality and branch prediction benefits.

by gemini-3.1-pro

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions