ruff
[ty] Lazily initialize `UnionBuilder` when transforming a union type
#24929
Merged

[ty] Lazily initialize `UnionBuilder` when transforming a union type #24929

mtshiba
mtshiba [ty] don't use `UnionBuilder` if the elements of the union have not b…
c0c93a7a
mtshiba mtshiba added performance
mtshiba mtshiba added ty
astral-sh-bot
astral-sh-bot
astral-sh-bot
MichaReiser
MichaReiser commented on 2026-04-29
codspeed-hq
mtshiba lazily initialize `UnionBuilder`
3ffb2a7e
mtshiba do the same thing for intersection
402fcfbd
mtshiba Revert "do the same thing for intersection"
1d3bad6e
mtshiba mtshiba changed the title [ty] don't use `UnionBuilder` if the elements of the union have not been changed by a transformation [ty] Lazily initialize `UnionBuilder` when transforming a union type 30 days ago
mtshiba mtshiba marked this pull request as ready for review 30 days ago
mtshiba mtshiba requested a review from carljm carljm 30 days ago
mtshiba mtshiba requested a review from AlexWaygood AlexWaygood 30 days ago
mtshiba mtshiba requested a review from sharkdp sharkdp 30 days ago
mtshiba mtshiba requested a review from dcreager dcreager 30 days ago
mtshiba mtshiba requested a review from ibraheemdev ibraheemdev 30 days ago
astral-sh-bot astral-sh-bot assigned charliermarsh charliermarsh 30 days ago
astral-sh-bot astral-sh-bot requested a review from charliermarsh charliermarsh 30 days ago
carljm carljm removed review request from carljm carljm 30 days ago
mtshiba do the same thing with `map, try_map`
2e81731b
mtshiba add `add_unchecked_in_place`
e360208b
mtshiba Revert "add `add_unchecked_in_place`"
c99f6b43
MichaReiser
MichaReiser commented on 2026-04-30
charliermarsh Merge branch 'main' into identity-preservation
b743cacc
charliermarsh Review feedback
23b60b30
charliermarsh
charliermarsh approved these changes on 2026-05-08
charliermarsh charliermarsh merged c79effff into main 21 days ago
ibraheemdev
MichaReiser
charliermarsh
MichaReiser
charliermarsh
mtshiba

Login to write a write a comment.

Login via GitHub

Assignees
Labels
Milestone