Hello, I am currently writing a physics engine for a school project, and I am looking to optimize my iterations, mostly on queries.
I use the same query type for my systems so it's easier when refactoring (early on in the project), and i wonder if naming the potentially unused variables (such as _transform if i don't need it) will be optimized away ? Or if i should discard the name (such as _)
I'm not familiar enough with profiling and assembly, so I'm not able to analyze and confirm if that's the case.
I know this is more a rust question than a bevy one, but perhaps this is a common problem
Thank you !