ruff/crates/ruff_python_codegen/src
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
..
generator.rs Reduce size of Expr from 80 to 64 bytes (#9900) 2024-02-09 02:53:13 +00:00
lib.rs Remove source path from parser errors (#9322) 2023-12-30 20:33:05 +00:00
stylist.rs Update to Rust 1.74 and use new clippy lints table (#8722) 2023-11-16 18:12:46 -05:00