Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Speed up type checking by caching argument inference context#19323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
JukkaL merged 1 commit intomasterfromoptimize-arg-infer-ctx
Jun 21, 2025

Conversation

@JukkaL
Copy link
Collaborator

This speeds up self check by about 1.5% on my computer, according toperf_compare.py:

...=== Results ===master                    4.264s (0.0%) | stdev 0.024s HEAD                      4.201s (-1.5%) | stdev 0.030s

I noticed this bottleneck when I was looking at a CPU profile generated using the script from#19322.

@github-actions
Copy link
Contributor

According tomypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@JukkaLJukkaL merged commitbe11ab8 intomasterJun 21, 2025
19 checks passed
@JukkaLJukkaL deleted the optimize-arg-infer-ctx branchJune 21, 2025 18:58
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@hauntsaninjahauntsaninjahauntsaninja approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@JukkaL@hauntsaninja

[8]ページ先頭

©2009-2025 Movatter.jp