Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork3.1k
Commit50aa4ca
committed
Speed up stubs suggestions (#17965)
See#17948This is starting to show up on profiles- 1.01x faster on clean (below noise)- 1.02x faster on long- 1.02x faster on openai- 1.01x faster on openai incrementalI had a dumb bug that was preventing the optimisation for a while, I'llsee if I can make it even faster. Currently it's a small improvementWe could also get rid of the legacy stuff in mypy 2.01 parent7c27808 commit50aa4ca
File tree
4 files changed
+93
-35
lines changed- mypy
- test
4 files changed
+93
-35
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| |||
2658 | 2658 | | |
2659 | 2659 | | |
2660 | 2660 | | |
2661 | | - | |
2662 | 2661 | | |
2663 | 2662 | | |
2664 | 2663 | | |
2665 | 2664 | | |
2666 | 2665 | | |
2667 | 2666 | | |
2668 | | - | |
2669 | | - | |
2670 | | - | |
2671 | | - | |
| 2667 | + | |
2672 | 2668 | | |
2673 | 2669 | | |
2674 | 2670 | | |
| |||
2789 | 2785 | | |
2790 | 2786 | | |
2791 | 2787 | | |
2792 | | - | |
2793 | | - | |
2794 | | - | |
2795 | | - | |
2796 | | - | |
2797 | | - | |
| 2788 | + | |
2798 | 2789 | | |
2799 | 2790 | | |
2800 | | - | |
| 2791 | + | |
| 2792 | + | |
2801 | 2793 | | |
2802 | 2794 | | |
2803 | | - | |
| 2795 | + | |
| 2796 | + | |
2804 | 2797 | | |
2805 | 2798 | | |
2806 | 2799 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
331 | 331 | | |
332 | 332 | | |
333 | 333 | | |
334 | | - | |
335 | | - | |
336 | | - | |
| 334 | + | |
| 335 | + | |
337 | 336 | | |
338 | 337 | | |
339 | 338 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
9 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
10 | 23 | | |
11 | 24 | | |
12 | | - | |
13 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
14 | 45 | | |
15 | 46 | | |
16 | 47 | | |
17 | 48 | | |
18 | 49 | | |
19 | | - | |
| 50 | + | |
20 | 51 | | |
21 | 52 | | |
22 | 53 | | |
| |||
32 | 63 | | |
33 | 64 | | |
34 | 65 | | |
35 | | - | |
36 | 66 | | |
37 | 67 | | |
38 | 68 | | |
| |||
66 | 96 | | |
67 | 97 | | |
68 | 98 | | |
69 | | - | |
70 | | - | |
71 | 99 | | |
72 | 100 | | |
73 | 101 | | |
74 | 102 | | |
75 | | - | |
| 103 | + | |
76 | 104 | | |
77 | 105 | | |
78 | 106 | | |
79 | 107 | | |
80 | 108 | | |
81 | 109 | | |
82 | | - | |
83 | 110 | | |
84 | 111 | | |
85 | 112 | | |
| |||
107 | 134 | | |
108 | 135 | | |
109 | 136 | | |
110 | | - | |
111 | 137 | | |
112 | 138 | | |
113 | 139 | | |
| |||
123 | 149 | | |
124 | 150 | | |
125 | 151 | | |
126 | | - | |
127 | 152 | | |
128 | 153 | | |
129 | 154 | | |
| |||
171 | 196 | | |
172 | 197 | | |
173 | 198 | | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
6 | 12 | | |
7 | 13 | | |
8 | 14 | | |
9 | 15 | | |
10 | | - | |
11 | | - | |
12 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
0 commit comments
Comments
(0)