[ty] Reduce size of TypeInference (#19435)

This commit is contained in:
Micha Reiser 2025-07-22 11:36:36 +02:00 committed by GitHub
parent af62d0368f
commit 5e29278aa2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 678 additions and 164 deletions

View file

@ -1,7 +1,6 @@
use std::fmt;
use std::sync::Arc;
use countme::Count;
use dashmap::mapref::entry::Entry;
pub use file_root::{FileRoot, FileRootKind};
pub use path::FilePath;
@ -312,11 +311,6 @@ pub struct File {
/// the file has been deleted is to change the status to `Deleted`.
#[default]
status: FileStatus,
/// Counter that counts the number of created file instances and active file instances.
/// Only enabled in debug builds.
#[default]
count: Count<File>,
}
// The Salsa heap is tracked separately.