Commit 35b0ce8
[generator] Use an ILookup for better performance. (#440)
Using an `ILookup` instead of constantly recalculating and iterating
over the `IEnumerable` returned by `FlattenGens()` causes the
`ApiVersionsSupport.AssignApiLevels()` step duration to drop while
generating `Mono.Android.dll` from ~30s to ~0.3s.1 parent a3b7456 commit 35b0ce8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
0 commit comments