@sleepyteaTrent Wow, that 2_expansion.rs file is a train wreck, so much repetition. Thanks for the data. Feels like with a small amount of effort on the Bevy side it could be made much smaller.
@sleepyteaTrent Good news! I made some big improvements here. The `bevy_ui` crate was a particularly egregious case. I shrunk the `derive(Reflect)` output size by 40%, which makes `cargo check` of that crate take 50% less time and reduces its peak memory by 20%.
Details here:
https://github.com/bevyengine/bevy/issues/19873#issuecomment-3082605064
If you have a fediverse account, you can quote this note from your own instance. Search https://mas.to/users/nnethercote/statuses/114872322711210218 on your instance and quote it. (Note that quoting is not supported in Mastodon.)