uv Author Explains Environment Marker Decision Diagrams and DNF Simplification
Charlie Marsh, author of uv and ruff, explained how uv represents Python environment markers as decision diagrams and why finding a minimal equivalent DNF is intractable, with the old path-collection approach producing huge intermediate DNFs.
2026-10-20 ~ 2026-10-20 · 3 related posts
- uv author explains: env markers as decision diagrams, minimal equivalent DNF is computationally hard — charliermarsh · 2026-10-20
- uv's old approach: collect true-paths into unsimplified DNF, then prune redundant clauses — charliermarsh · 2026-10-20
- uv's scaling pain: complex resolutions explode the intermediate DNF, clause comparison gets expensive — charliermarsh · 2026-10-20