[ty] Reduce size of member table (#19572)

This commit is contained in:
Micha Reiser 2025-08-07 11:16:04 +02:00 committed by GitHub
parent cc97579c3b
commit b96aa4605b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 722 additions and 134 deletions

View file

@ -156,7 +156,9 @@ fn run_check(args: CheckCommand) -> anyhow::Result<ExitStatus> {
match std::env::var(EnvVars::TY_MEMORY_REPORT).as_deref() {
Ok("short") => write!(stdout, "{}", db.salsa_memory_dump().display_short())?,
Ok("mypy_primer") => write!(stdout, "{}", db.salsa_memory_dump().display_mypy_primer())?,
Ok("full") => write!(stdout, "{}", db.salsa_memory_dump().display_full())?,
Ok("full") => {
write!(stdout, "{}", db.salsa_memory_dump().display_full())?;
}
Ok(other) => {
tracing::warn!(
"Unknown value for `TY_MEMORY_REPORT`: `{other}`. Valid values are `short`, `mypy_primer`, and `full`."