issues
search
microsoft
/
CsWin32
A source generator to add a user-defined set of Win32 P/Invoke methods and supporting types to a C# project.
MIT License
2.1k
stars
90
forks
source link
Perf enhancements
#782
Closed
AArnott
closed
1 year ago
AArnott
commented
1 year ago
Turn off API docs generation in most tests.
Avoid mutating SyntaxList in a loop. This was the single worst source of bad perf in the FullGeneration test, costing 20 seconds out of 1.9 minutes.
Add cache for slow
FindTypeSymbolIfAlreadyAvailable
method.
FindTypeSymbolIfAlreadyAvailable
method.