зеркало из https://github.com/dotnet/fsharp.git
593 B
593 B
title | category | categoryindex | index |
---|---|---|---|
IncrementalBuilder caches | Language Service Internals | 300 | 1300 |
IncrementalBuilder SyntaxTree cache
Incremental builder keeps in a cache at most one ParsedInput
for each file it parses.
This behavior can be toggled with useSyntaxTreeCache
parameter.
Memory impact of this feature can be in range of tens of MB for larger solutions. This can be inspected in memory profiling tools by searching for ParsedInput
instances.
When partial checking is enabled, implementation files backed by signature will not be parsed or cached, as expected.