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
Implemented a number of performance and memory optimizations (#10816)
* Implemented a number of performance and memory optimizations:
* Made implicitImports and filteredImplicitImports fields of ImportResult optional to eliminate the need to create empty maps.
* Avoided creating a new diagnostic rule set for every source file unless it overrides the default rule set.
* Limited memoization of file and web URIs; we were previously allocating and caching an unlimited number of URIs which consumed 100's of Mb of space on large project.
* Changed tokenizer to forcibly clone the value of a string literal so we don't retain a reference to the entire file's text contents.
* Fixed regression caught by mypy_primer.
0 commit comments