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
{{ message }}
Repository navigation
Graph-based type-checking: speedup graph building by avoiding unnecessary inefficient path checks #15427
|> Array.tryFindIndex (fun f -> FileSystemUtils.fileNameOfPath f.FileName = filename)
The fileNameOfPath checks for illegal characters in a very inefficient way, and besides, we should only have to do it once, instead of doing it once per each file node we're creating.
Here is a snapshot showing the graph construction part of compilation when GraphBasedChecking is enabled:
Another low-hanging fruit is the memoization where we hash FSharpLists which looks expensive:
changed the title [-]Performance improvement suggestion for graph-based type-checking[/-][+]Graph-based type-checking: speedup graph building by avoiding unnecessary inefficient path checks[/+]on Jun 17, 2023
Activity
[-]Performance improvement suggestion for graph-based type-checking[/-][+]Graph-based type-checking: speedup graph building by avoiding unnecessary inefficient path checks[/+]