ruff
Cache parenthesized expression boundaries in the formatter
#26344
Merged

Cache parenthesized expression boundaries in the formatter #26344

charliermarsh
astral-sh-bot
codspeed
charliermarsh charliermarsh force pushed from 6531bd4d to 3670e4af 105 days ago
charliermarsh charliermarsh added performance
charliermarsh charliermarsh added formatter
charliermarsh charliermarsh marked this pull request as ready for review 105 days ago
charliermarsh charliermarsh requested a review from MichaReiser MichaReiser 105 days ago
DTiming24
MichaReiser
MichaReiser commented on 2026-06-26
charliermarsh charliermarsh marked this pull request as draft 105 days ago
charliermarsh charliermarsh force pushed from 74d960a1 to 045e89ba 105 days ago
astral-sh-bot
astral-sh-bot
astral-sh-bot
charliermarsh charliermarsh force pushed from 045e89ba to 27fb258d 104 days ago
charliermarsh charliermarsh marked this pull request as ready for review 104 days ago
charliermarsh charliermarsh requested a review from MichaReiser MichaReiser 104 days ago
MichaReiser
MichaReiser approved these changes on 2026-06-26
MichaReiser
charliermarsh Cache parenthesized expression boundaries in formatter
0a1c8258
charliermarsh Use parsed tokens for parenthesized ranges
017969cc
charliermarsh Store parenthesized ranges in a single set
ac5d5480
charliermarsh Avoid copying tokens in parentheses index
dac066ca
charliermarsh Build formatter trivia ranges in one token pass
c8c76379
charliermarsh Use binary search for parenthesized ranges
a47a2297
charliermarsh Revert "Use binary search for parenthesized ranges"
d81b4278
charliermarsh Move formatter trivia to context
cc9584b8
charliermarsh charliermarsh force pushed from 2539a56f to cc9584b8 104 days ago
charliermarsh charliermarsh merged 2cd74f00 into main 104 days ago
charliermarsh
charliermarsh charliermarsh deleted the charlie/codex-formatter-parentheses-index branch 104 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone