ruff/crates/ruff_python_ast
Ibraheem Ahmed 7abc41727b
[ty] Shrink size of AstNodeRef (#20028)
## Summary

Removes the `module_ptr` field from `AstNodeRef` in release mode, and
change `NodeIndex` to a `NonZeroU32` to reduce the size of
`Option<AstNodeRef<_>>` fields.

I believe CI runs in debug mode, so this won't show up in the memory
report, but this reduces memory by ~2% in release mode.
2025-08-22 17:03:22 -04:00
..
src [ty] Shrink size of AstNodeRef (#20028) 2025-08-22 17:03:22 -04:00
ast.toml Implement template strings (#17851) 2025-05-30 15:00:56 -05:00
Cargo.toml Make dependency get-size2 truly optional in ruff_python_ast (#19052) 2025-06-30 21:50:59 -05:00
generate.py [ty] Add environment variable to dump Salsa memory usage stats (#18928) 2025-06-26 21:27:51 +00:00