Remix.run Logo
cogman10 15 hours ago

AFAIK, it's not the traits that does it but rather the generics.

Rust does make it a lot easier to use generics which is likely why using more traits appears to be the cause of longer build times. I think it's just more that the more traits you have, the more likely you are to stumble over some generic code which ultimately generates more code.

embedding-shape 15 hours ago | parent [-]

> AFAIK, it's not the traits that does it but rather the generics.

Aah, yes, that sounds more correct, the end result is the same, I failed to remember the correct mechanism that led to it. Thank you for the correction!