On Sunday, 24 August 2025 at 08:35:57 UTC, Per Nordlöw wrote:
Which are the pros and cons of foreach vs static foreach on a compile time tuple in D in terms of compiler performance and resource usage? Does static foreach generate more ast duplications?
--Yes, it will make the compile-time longer, but usually you can ignore. If you don't have `static foreach(int i;0..99999999)`,you are no need to worry about it.