Skip to main content

GEO_REMAINDER_WIRE_BUDGET_BYTES

Constant GEO_REMAINDER_WIRE_BUDGET_BYTES 

Source
pub const GEO_REMAINDER_WIRE_BUDGET_BYTES: usize = _; // 524_288usize
Expand description

Budget for the geo histogram’s remainder summary — the per-L8-parent dropped-mass entries. INDEPENDENT of and ADDITIVE to the fine-map budget: capped_for_wire(fine, remainder) enforces each separately, so a saturated FINE frame carries 1.75 MiB of fine map PLUS up to 512 KiB of remainder (2.25 MiB total, still under the 4 MiB per-message gRPC ceiling). The remainder’s key space is the FULL L8 parent grid (6 × 4^8 = 393,216 ≈ 6.3 MB untrimmed at global density), so it obeys the same rank-and-keep discipline as the fine map: largest-total parents first, and beyond this budget the smallest-mass parents are dropped and read EMPTY — a bounded under-estimate on the advisory path (§10: estimates order plans, never prune; SPARQL results are unaffected).