Busflow Docs

Internal documentation portal

Skip to content
๐Ÿ“ฆ Resource Reviewed 11 May 2026

Idea: Partial Recalculation (Dirty-Flag Engine) โ€‹

Status: PARKED โ€” Premature optimization. Assessed as non-issue for current scale (โ‰ค72 variants per CostingSheet). Origin: Relocated from TODOS.md (former ยง6 โ€” Industry Best Practices, formerly SB-6 in STRATEGIC_BLIND_SPOTS.md) during a TODOS pruning audit (2026-05-11).


Concept โ€‹

Performance optimization for the Pricing Engine using selective dirty-flag propagation. Instead of recalculating the entire PriceMatrix when a single cost component changes, track which variants are affected and recalculate only those.

Why Parked โ€‹

Current scale (โ‰ค72 variants per CostingSheet) means full recalculation completes in negligible time. The optimization adds complexity without measurable user benefit at current scale. Revisit if variant counts grow significantly (e.g., through combinatorial ancillary pricing or multi-departure batching).

Internal documentation โ€” Busflow