use real vtable type in the trait object representation #11915
Labels
A-trait-system
Area: Trait system
I-slow
Issue: Problems and improvements with respect to performance of generated code.
There's no reason to be casting to and from an opaque type as it confuses LLVM and breaks devirtualization and other optimizations. I think it will involve some pain to have
trans::meth
spit out the vtable type without generating one though.The text was updated successfully, but these errors were encountered: