-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
good first issueGood for newcomersGood for newcomersperformancePotential performance improvementPotential performance improvement
Description
Rewrite (if possible) or provide alternatives to parenthesized_range and parentheses_iterator that take &Tokens as arguments instead of the CommentRanges, and don't use SimpleTokenizer or BackwardsTokenizer at all.
The ultimate goal of this would be to optimize calls sites such as this one in ty (which uses parentheses_iterator).
Suggested by @MichaReiser here: #21476 (comment)
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomersperformancePotential performance improvementPotential performance improvement