ruff/crates/ruff_python_parser/src/parser
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 [ty] Shrink size of AstNodeRef (#20028) 2025-08-22 17:03:22 -04:00
expression.rs [ty] Shrink size of AstNodeRef (#20028) 2025-08-22 17:03:22 -04:00
helpers.rs Update Rust toolchain to 1.89 (#19807) 2025-08-07 18:21:50 +02:00
mod.rs [ty] Shrink size of AstNodeRef (#20028) 2025-08-22 17:03:22 -04:00
options.rs [syntax-errors] Store to or delete __debug__ (#16984) 2025-03-29 12:07:20 -04:00
pattern.rs [ty] Shrink size of AstNodeRef (#20028) 2025-08-22 17:03:22 -04:00
progress.rs Replace LALRPOP parser with hand-written parser (#10036) 2024-04-18 17:57:39 +05:30
recovery.rs [ty] AST garbage collection (#18482) 2025-06-13 08:40:11 -04:00
statement.rs [ty] Shrink size of AstNodeRef (#20028) 2025-08-22 17:03:22 -04:00
tests.rs Fix unreachable panic in parser (#19183) 2025-07-20 22:04:14 +00:00