图着色与寄存器分配 2026-06-10 | algorithms | #graph-coloring #register-allocation #compiler #np-complete #greedy #interference-graph 图着色问题是 NP 完全的,但编译器每天都在解决它。