You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: fcs/docsrc/content/caches.fsx
+2-7Lines changed: 2 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -21,19 +21,14 @@ Each FSharpChecker object maintains a set of caches. These are
21
21
22
22
* ``braceMatchCache`` - an MRU cache of size ``braceMatchCacheSize`` (default = 5) keeping the results of calls to MatchBraces, keyed by filename, source and project options.
23
23
24
-
* ``parseFileInProjectCache`` - an MRU cache of size ``parseFileInProjectCacheSize`` (default = 2) keeping the results ofParseFileInProject,
24
+
* ``parseFileCache`` - an MRU cache of size ``parseFileCacheSize`` (default = 2) keeping the results ofParseFile,
25
25
keyed by filename, source and project options.
26
26
27
-
* ``parseAndCheckFileInProjectCache`` - an MRU cache of size ``incrementalTypeCheckCacheSize`` (default = 5) keeping the results of
27
+
* ``checkFileInProjectCache`` - an MRU cache of size ``incrementalTypeCheckCacheSize`` (default = 5) keeping the results of
28
28
ParseAndCheckFileInProject, CheckFileInProject and/or CheckFileInProjectIfReady. This is keyed by filename, file source
29
29
and project options. The results held in this cache are only returned if they would reflect an accurate parse and check of the
30
30
file.
31
31
32
-
* ``parseAndCheckFileInProjectCachePossiblyStale`` - a somewhat peculiar MRU cache of size ``incrementalTypeCheckCacheSize`` (default = 5)
33
-
keeping the results of ParseAndCheckFileInProject, CheckFileInProject and CheckFileInProjectIfReady,
34
-
keyed by filename and project options. This cache is accessed by TryGetRecentTypeCheckResultsForFile. Because the results
35
-
are accessed regardless of the content of the file, the checking results returned may be "stale".
36
-
37
32
* ``getToolTipTextCache`` - an aged lookup cache of strong size ``getToolTipTextSize`` (default = 5) computing the results of GetToolTipText.
38
33
39
34
* ``ilModuleReaderCache`` - an aged lookup of weak references to "readers" for references .NET binaries. Because these