ruff
fb5bcdea - [ty] Avoid allocating disabled error context trees (#26191)

Commit
31 days ago
[ty] Avoid allocating disabled error context trees (#26191) Disabled relation checks currently allocate an empty error-context root that can never be populated. This PR represents them as `None` to avoid the allocation. This reduces allocations by as much as 10% on some projects. --------- Co-authored-by: Charlie Marsh <charlie.r.marsh@gmail.com>
Author
Parents
Loading