pub fn build_surface_cached(
compiler: &ContextCompiler<'_>,
request: SurfaceRequest<'_>,
cache: &mut Option<GlobalRankCache>,
) -> SurfaceRenderResultExpand description
15.2-cache-seam: cache-aware sibling of build_surface (Wave 15.2,
REQ-global-rank-cached-per-model-epoch). When cache holds a valid
crate::startup::GlobalRankCache (loaded by
crate::startup::load_global_rank_cache), the global PPR vector +
symbol projection come from the cache — skipping
SystemRanker::new (the heterogeneous node graph + adjacency +
rarity build) and the 50 power iterations of global_vector(). The
pipeline tail (required coverage, MMR, quotas, budget selection,
render) runs identically, so the output is byte-identical to
build_surface. On a miss (cache is None) the ranker is built
once and the cache is FILLED (the caller persists it via
crate::startup::store_global_rank_cache). Additive: B’s semantic
field lands on SurfaceRequest/build_surface independently.