Skip to main content

Module compute

Module compute 

Source
Expand description

Compute kernels that operate on encoded columns. Compare, take, slice, filter, sum, search-sorted, min/max - the primitives the engine VM dispatches to when it executes the per-instruction work of a query. Kernels prefer to run directly on the encoded bytes (canonical layout, dictionary indices, run-length runs) and only decode when they cannot.

Adding a new kernel here is the right place to make a new operator vectorise; reaching for a per-row interpreter loop in the VM bypasses the work that lives in this module.

Modules§

canonical

Structs§

DefaultCompute

Enums§

CompareOp
SearchResult

Traits§

Compute

Functions§

compare
filter
min_max
search_sorted
slice
sum
take