perf(core): skip dropped lib prefix during densify (#13047)#13382
Conversation
|
Corrected draft-state note for this PR (the previous comment had markdown backticks interpreted by my shell before posting). Reason/current work: this is the next #13047 / #13250 Fast-goal slice. It narrows premerged-lib compaction densify to retained lib symbols plus private appended file symbols when the binder has the ordinary pure shared-lib prefix. Mixed-prefix arenas keep the old full-filter behavior. Blocker/current status: local focused verification is green, but CI still needs to prove the exact remote head before this can move to ready review. Next action: wait for draft/light CI; if green, update verification and mark ready. If red, fix this branch before promotion. Verification: Provenance: Mac.fritz.box / codex / GPT-5 / high |
|
Moving this out of draft: exact-head draft/light CI passed for Current work/blocker: ready-review CI must produce an exact-head Next action: watch ready-review CI; if green, queue with Verification: local targeted checks plus draft/light CI are recorded in the PR body. Provenance: Mac.fritz.box / codex / GPT-5 / high |
…p-13047-s4-20260613
|
Main-sync refresh for #13382:
Provenance: Mac.fritz.box / codex / GPT-5 / high |
Goal: fast
Summary
Structural rule
When a cloned premerged-lib binder keeps the entire lib universe in SymbolArena shared prefix, per-file compaction only needs retained lib symbols plus private appended file symbols. tsz preserves binder/core semantics by using the optimized workset only when shared_prefix_len == lib_symbol_ids.len(); any mixed-prefix or unusual arena shape falls back to the previous full symbol filter.
Verification
Provenance
Machine: MacBookPro.fritz.box
Assistant: codex
Model: GPT-5
Effort: high