KEMBAR78
[mypyc] Faster set creation with generator expression (#10261) by sthagen · Pull Request #62 · sthagen/python-mypy · GitHub
Skip to content

Conversation

@sthagen
Copy link
Owner

@sthagen sthagen commented Apr 2, 2021

Closes mypyc/mypyc#771 and python#9707.

Changes:

Have you read the Contributing Guidelines?

(Once you have, delete this section. If you leave it in, your PR may be closed without action.)

Description

(Explain how this PR changes mypy.)

Test Plan

(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)

Closes mypyc/mypyc#771 and #9707.

Changes:

* Move code from tranform_set_comprehension to translate_set_comprehension
* Fix the unnecessary set creation (#9707 (comment))
@sthagen sthagen merged commit 4befbd2 into sthagen:master Apr 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Faster set creation with generator expression

2 participants