Fsharp: No need to type check implementation files when an .fsi file exists

Created on 30 Sep 2020  路  4Comments  路  Source: dotnet/fsharp

Will has the details, and can fill this out more. There is a tremendous peformance gain when we don't typecheck implementation files that are not open.

Area-IDE Language Service Feature Request Tenet-Performance

Most helpful comment

@heronbpv, I'm with you, I don't like them when creating apps, however, if you are creating libraries for public consumption, they are very useful for controlling the visibility of the types and functions in the libraries.

All 4 comments

This would help sooooo much in large projects wrt tooling perf, and would be an extra benefit for adding fsi files (I usually don't).

Waiting for this optimization to land before opening again TypeChecker.fs 馃槃.

This would help sooooo much in large projects wrt tooling perf, and would be an extra benefit for adding fsi files (I usually don't).

This. Never saw any reason to make a .fsi file, until now. Always seemed like redundant work.

@heronbpv, I'm with you, I don't like them when creating apps, however, if you are creating libraries for public consumption, they are very useful for controlling the visibility of the types and functions in the libraries.

Was this page helpful?
0 / 5 - 0 ratings