Skip to main content

Module brin

Module brin 

Source
Expand description

v7.38.11 — read a range predicate’s bounds so a BRIN index can say which slots the scan may skip.

Lives in its own module, and is #[cold] #[inline(never)], for a measured reason: v7.38.8’s conjunct reorder cost two shapes it did not even touch 17 % and 20 % purely by being compiled into the file that holds the row loop. This runs once per plan; it has no business near that loop’s code layout.

Statics§

PROBE_ENTERED
Diagnostic only: how often the reader ran, and how often it produced a slot list. Cheap enough to leave in — one relaxed add per plan.
PROBE_PRUNED
See PROBE_ENTERED.