From f90889e5ee19e0ddcd9c1dbcce98720e417dd83e Mon Sep 17 00:00:00 2001 From: David Sherret Date: Tue, 20 Feb 2024 16:29:57 -0500 Subject: perf(jsr): fast check cache and lazy fast check graph (#22485) --- cli/module_loader.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/module_loader.rs') diff --git a/cli/module_loader.rs b/cli/module_loader.rs index 4e0fe7142..d2742d1ba 100644 --- a/cli/module_loader.rs +++ b/cli/module_loader.rs @@ -127,7 +127,6 @@ impl ModuleLoadPreparer { graph_kind: graph.graph_kind(), roots: roots.clone(), loader: Some(&mut cache), - workspace_fast_check: false, }, ) .await?; @@ -157,12 +156,13 @@ impl ModuleLoadPreparer { if self.options.type_check_mode().is_true() && !self.graph_container.is_type_checked(&roots, lib) { - let graph = Arc::new(graph.segment(&roots)); + let graph = graph.segment(&roots); self .type_checker .check( graph, check::CheckOptions { + build_fast_check_graph: true, lib, log_ignored_options: false, reload: self.options.reload_flag() -- cgit v1.2.3