Skip to main content

VECTOR_SIZE

Constant VECTOR_SIZE 

Source
pub const VECTOR_SIZE: usize = 1024;
Expand description

How many values are in a full vector.

1024 rather than DuckDB’s 2048, per spec/04-architecture.md section 4.3. It is the FastLanes unit, it makes a validity mask exactly 16 u64 words, and it keeps a vector of 16 byte string views at 16 KiB, which is the size at which several of these fit in L1 together rather than evicting each other.