I was just refactoring something like struct A{S,T,U,V,W} into abstract type A{S,T,U,V,W} and struct A'{S,T,U,V,W}. This made compilation time for my first construction of an A something like ten times slower until I realized that abstract type A{S,T} was good enough, which completely fixed the performance issue. Can anybody explain why this might happen at this level of abstraction, or would I need to get more specific?
Last updated: Nov 27 2025 at 04:44 UTC