ruff/crates/ruff_python_formatter/src/comments
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
..
snapshots Update insta snapshots (#14366) 2024-11-15 19:31:15 +01:00
debug.rs [ty] Shrink size of AstNodeRef (#20028) 2025-08-22 17:03:22 -04:00
format.rs Update Rust toolchain to 1.89 (#19807) 2025-08-07 18:21:50 +02:00
map.rs Update Rust toolchain to 1.89 (#19807) 2025-08-07 18:21:50 +02:00
mod.rs Update Rust toolchain to 1.89 (#19807) 2025-08-07 18:21:50 +02:00
node_key.rs [ty] Shrink size of AstNodeRef (#20028) 2025-08-22 17:03:22 -04:00
placement.rs Disallow newlines in format specifiers of single quoted f- or t-strings (#18708) 2025-06-18 14:56:15 +02:00
visitor.rs Upgrade to Rust 1.86 and bump MSRV to 1.84 (#17171) 2025-04-03 15:59:44 +00:00