Commit 16e07df
committed
perf: dedupe TOML parsing + precompute env-name matcher (PR #460)
Address Copilot review: configure() now parses pyproject.toml and hatch.toml once each per workspace via read_workspace_hatch_sections(), and the env-name allowlist is precomputed into EnvNameMatcher so the try_from() hot path avoids per-call to_lowercase()/format!() allocations.1 parent ba241fa commit 16e07df
1 file changed
Lines changed: 158 additions & 117 deletions
0 commit comments