ruff
e66a872c - [ty] Coalesce allocations for parameter info in ArgumentMatcher (#20586)

Commit
6 days ago
[ty] Coalesce allocations for parameter info in ArgumentMatcher (#20586) <!-- Thank you for contributing to Ruff/ty! To help us out with reviewing, please consider the following: - Does this pull request include a summary of the change? (See below.) - Does this pull request include a descriptive title? (Please prefix with `[ty]` for ty pull requests.) - Does this pull request include references to any relevant issues? --> ## Summary Follow up on #20495. The improvement suggested by @AlexWaygood cannot be applied as-is since the `argument_matches` vector is indexed by argument number, while the two boolean vectors are indexed by parameter number. Still coalescing the latter two saves one allocation.
Author
Parents
Loading