ruff/crates/ruff_python_ast
Charlie Marsh 49fe1b85f2
Reduce size of Expr from 80 to 64 bytes (#9900)
## Summary

This PR reduces the size of `Expr` from 80 to 64 bytes, by reducing the
sizes of...

- `ExprCall` from 72 to 56 bytes, by using boxed slices for `Arguments`.
- `ExprCompare` from 64 to 48 bytes, by using boxed slices for its
various vectors.

In testing, the parser gets a bit faster, and the linter benchmarks
improve quite a bit.
2024-02-09 02:53:13 +00:00
..
src Reduce size of Expr from 80 to 64 bytes (#9900) 2024-02-09 02:53:13 +00:00
tests Remove type parameter from parse_* methods (#9466) 2024-01-11 19:41:19 +01:00
Cargo.toml Use Rust 1.76 (#9897) 2024-02-08 18:20:08 +00:00