Speed up the default plugin by JukkaL · Pull Request #19385 · python/mypy
added 3 commits
July 6, 2025 12:36
JukkaL
deleted the
mypyc-micro-opt-2
branch
JukkaL added a commit that referenced this pull request
Jul 16, 2025Use precalculated set objects in more places. This is similar to #19385. Some cases were still unoptimized. I used trace logging (#19457) to identify functions where we were creating many set objects, and I noticed that these were unncessary. This is a part of a set of micro-optimizations that improve self check performance by ~5.5%.
JukkaL added a commit that referenced this pull request
Jul 16, 2025Use precalculated set objects in more places. This is similar to #19385. Some cases were still unoptimized. I used trace logging (#19457) to identify functions where we were creating many set objects, and I noticed that these were unnecessary. This is a part of a set of micro-optimizations that improve self check performance by ~5.5%.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters