forked from dotnet/roslyn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Immediately filter syntax trees down to those that either have attrib…
…utes or global-using-aliases. (dotnet#62483) * Cache the hash in compilation options * Remove * Update src/Compilers/Core/Portable/InternalUtilities/Hash.cs * Update src/Compilers/Core/Portable/InternalUtilities/Hash.cs * Update src/Compilers/Core/Portable/InternalUtilities/Hash.cs * Fix api * Walk green-nodes in incremental-generator attribute-finding path * Use green nodes * REmove * Fix tests * Avoid allocating builder if not needed * Simplify * Only loop once * Do not look for load/reference directives when there can't be any * REmove use of Lazy in DeclarationTable for rarely used values. * Remove lazy * In progress * Change the data-flow path for searching for attributes to prevent fewer intermediary tables. * Remove unused type * Simplify * Update tests * Make internal * Update * Update src/Compilers/Core/Portable/SourceGeneration/Nodes/NodeStateTable.cs * Update comment * Filter large tables before processing htem. * Update tests * Sort * Fix grammar * Fix assert * Add back in * Revert * Simplify * remove * Simplify * Remove * Simplify global aliases * Prefilter to only trees that have attributes or globalaliases in them * INcrease * Only check the top level for global usings. * Remove comment * Simplify * Add docs * Revert * Make static * Extract common code * PR feedback * Use helper * update run counts * Chain compilations * Fix grammar * Don't use implicit construction * Fix * Tweak benchmark * Simplify walk
- Loading branch information
1 parent
2cd995d
commit 7e2478f
Showing
9 changed files
with
103 additions
and
67 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.